Package net.bytebuddy.agent
Interface ByteBuddyAgent.AgentProvider
-
- All Known Implementing Classes:
ByteBuddyAgent.AgentProvider.ForByteBuddyAgent,ByteBuddyAgent.AgentProvider.ForExistingAgent
- Enclosing class:
- ByteBuddyAgent
protected static interface ByteBuddyAgent.AgentProviderAn agent provider is responsible for handling and providing the jar file of an agent that is being attached.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classByteBuddyAgent.AgentProvider.ForByteBuddyAgentAn agent provider for a temporary Byte Buddy agent.static classByteBuddyAgent.AgentProvider.ForExistingAgentAn agent provider that supplies an existing agent that is not deleted after attachment.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Fileresolve()Provides an agent jar file for attachment.
-
-
-
Method Detail
-
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.
-
-