Package net.bytebuddy.agent
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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
An agent provider for a temporary Byte Buddy agent.static class
An agent provider that supplies an existing agent that is not deleted after attachment. -
Method Summary
-
Method Details
-
resolve
Provides an agent jar file for attachment.- Returns:
- The provided agent.
- Throws:
IOException
- If the agent cannot be written to disk.
-