Interface ByteBuddyAgent.AgentProvider

All Known Implementing Classes:
ByteBuddyAgent.AgentProvider.ForByteBuddyAgent, ByteBuddyAgent.AgentProvider.ForExistingAgent
Enclosing class:
ByteBuddyAgent

protected static interface ByteBuddyAgent.AgentProvider
An agent provider is responsible for handling and providing the jar file of an agent that is being attached.
  • Method Details

    • resolve

      File resolve() throws IOException
      Provides an agent jar file for attachment.
      Returns:
      The provided agent.
      Throws:
      IOException - If the agent cannot be written to disk.