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 Classes Modifier and Type Interface Description static class
ByteBuddyAgent.AgentProvider.ForByteBuddyAgent
An agent provider for a temporary Byte Buddy agent.static class
ByteBuddyAgent.AgentProvider.ForExistingAgent
An 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 File
resolve()
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.
-
-