protected static class ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithDirectAttachment extends ByteBuddyAgent.AttachmentProvider.Accessor.Simple
ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithDirectAttachment, ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithExternalAttachment
ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment, ByteBuddyAgent.AttachmentProvider.Accessor.Simple, ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable
virtualMachineType
VIRTUAL_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, ofJ9
public 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–2020. All rights reserved.