protected static class ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithDirectAttachment extends ByteBuddyAgent.AttachmentProvider.Accessor.Simple
ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithDirectAttachment, ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithExternalAttachmentByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment, ByteBuddyAgent.AttachmentProvider.Accessor.Simple, ByteBuddyAgent.AttachmentProvider.Accessor.UnavailablevirtualMachineTypeVIRTUAL_MACHINE_TYPE_NAME, VIRTUAL_MACHINE_TYPE_NAME_J9| Constructor and Description |
|---|
WithDirectAttachment(Class<?> virtualMachineType)
Creates a new simple accessor that implements direct attachment.
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment |
getExternalAttachment()
Returns a description of a virtual machine class for an external attachment.
|
boolean |
isExternalAttachmentRequired()
Returns
true if this accessor prohibits attachment to the same virtual machine in Java 9 and later. |
getVirtualMachineType, isAvailable, of, ofJ9public WithDirectAttachment(Class<?> virtualMachineType)
virtualMachineType - A VirtualMachine class.public boolean isExternalAttachmentRequired()
true if this accessor prohibits attachment to the same virtual machine in Java 9 and later.true if this accessor prohibits attachment to the same virtual machine in Java 9 and later.public ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment getExternalAttachment()
Copyright © 2014–2025. All rights reserved.