com.sun.tools.attach |
Provides the API to attach to a JavaTM
virtual machine.
A tool, written in the Java Language, uses this API to attach to a target
virtual machine (VM) and load its tool agent into the target VM. For
example, a management console might have a management agent which it uses
to obtain management information from instrumented objects in a Java
virtual machine. If the management console is required to manage
an application that is running in a virtual machine that does not include
the management agent, then this API can be used to attach to the target
VM and load the agent.
@since 1.6
|
Java Source File Name | Type | Comment |
AgentInitializationException.java | Class | The exception thrown when an agent fails to initialize in the target
Java virtual machine. |
AgentLoadException.java | Class | The exception thrown when an agent cannot be loaded into the target
Java virtual machine. |
AttachNotSupportedException.java | Class | Thrown by
com.sun.tools.attach.VirtualMachine.attachVirtalMachine.attach when attempting to attach to a Java virtual machine
for which a compatible
com.sun.tools.attach.spi.AttachProviderAttachProvider does not exist. |
AttachPermission.java | Class | When a
java.lang.SecurityManager SecurityManager set, this
is the permission which will be checked when code invokes
VirtualMachine.attach VirtalMachine.attach to attach to a target virtual
machine.
This permission is also checked when an
com.sun.tools.attach.spi.AttachProvider AttachProvider is created. |
VirtualMachine.java | Class | A Java virtual machine.
A VirtualMachine represents a Java virtual machine to which this
Java virtual machine has attached. |
VirtualMachineDescriptor.java | Class | Describes a Java virtual machine.
A VirtualMachineDescriptor is a container class used to
describe a Java virtual machine. |