public static interface ByteBuddyAgent.AttachmentProvider.Accessor
Modifier and Type | Interface and Description |
---|---|
static class |
ByteBuddyAgent.AttachmentProvider.Accessor.Simple
A simple implementation of an accessible accessor.
|
static class |
ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable
A canonical implementation of an unavailable accessor.
|
Modifier and Type | Field and Description |
---|---|
static String |
VIRTUAL_MACHINE_TYPE_NAME
The name of the
VirtualMachine class. |
Modifier and Type | Method and Description |
---|---|
String |
getProcessId()
Returns the current JVM instance's process id.
|
Class<?> |
getVirtualMachineType()
Returns the
com.sun.tools.attach.VirtualMachine class. |
boolean |
isAvailable()
Determines if this accessor is applicable for the currently running JVM.
|
static final String VIRTUAL_MACHINE_TYPE_NAME
VirtualMachine
class.boolean isAvailable()
true
if this accessor is available.Class<?> getVirtualMachineType()
com.sun.tools.attach.VirtualMachine
class. This method must only be called
for available accessors.String getProcessId()
Copyright © 2014–2016. All rights reserved.