protected static class ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithExternalAttachment extends ByteBuddyAgent.AttachmentProvider.Accessor.Simple
ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithExternalAttachment, ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithoutExternalAttachmentByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment, ByteBuddyAgent.AttachmentProvider.Accessor.Simple, ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.io.File> |
classPath
The class path required for loading the virtual machine type.
|
virtualMachineTypeVIRTUAL_MACHINE_TYPE_NAME, VIRTUAL_MACHINE_TYPE_NAME_J9| Constructor and Description |
|---|
WithExternalAttachment(java.lang.Class<?> virtualMachineType,
java.util.List<java.io.File> classPath)
Creates a new simple accessor that allows for external attachment.
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment |
getExternalAttachment()
Returns a description of a virtual machine class for an external attachment.
|
getVirtualMachineType, isAvailable, of, ofJ9private final java.util.List<java.io.File> classPath
public WithExternalAttachment(java.lang.Class<?> virtualMachineType,
java.util.List<java.io.File> classPath)
virtualMachineType - The com.sun.tools.attach.VirtualMachine class.classPath - The class path required for loading the virtual machine type.public ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment getExternalAttachment()