Package net.bytebuddy.agent
Interface ByteBuddyAgent.AttachmentProvider
-
- All Known Implementing Classes:
ByteBuddyAgent.AttachmentProvider.Compound,ByteBuddyAgent.AttachmentProvider.ForJ9Vm,ByteBuddyAgent.AttachmentProvider.ForJigsawVm,ByteBuddyAgent.AttachmentProvider.ForToolsJarVm,ByteBuddyAgent.AttachmentProvider.ForUnixHotSpotVm
- Enclosing class:
- ByteBuddyAgent
public static interface ByteBuddyAgent.AttachmentProviderAn attachment provider is responsible for making the Java attachment API available.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceByteBuddyAgent.AttachmentProvider.AccessorAn accessor for a JVM's attachment API.static classByteBuddyAgent.AttachmentProvider.CompoundA compound attachment provider that attempts the attachment by delegation to other providers.static classByteBuddyAgent.AttachmentProvider.ForJ9VmAn attachment provider that locates the attach API directly from the system class loader expecting an IBM J9 VM.static classByteBuddyAgent.AttachmentProvider.ForJigsawVmAn attachment provider that locates the attach API directly from the system class loader.static classByteBuddyAgent.AttachmentProvider.ForToolsJarVmAn attachment provider that is dependant on the existence of a tools.jar file on the local file system.static classByteBuddyAgent.AttachmentProvider.ForUnixHotSpotVmAn attachment provider using a custom protocol implementation for HotSpot on Unix.
-
Field Summary
Fields Modifier and Type Field Description static ByteBuddyAgent.AttachmentProviderDEFAULTThe default attachment provider to be used.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteBuddyAgent.AttachmentProvider.Accessorattempt()Attempts the creation of an accessor for a specific JVM's attachment API.
-
-
-
Field Detail
-
DEFAULT
static final ByteBuddyAgent.AttachmentProvider DEFAULT
The default attachment provider to be used.
-
-
Method Detail
-
attempt
ByteBuddyAgent.AttachmentProvider.Accessor attempt()
Attempts the creation of an accessor for a specific JVM's attachment API.- Returns:
- The accessor this attachment provider can supply for the currently running JVM.
-
-