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.
| Modifier and Type | Class and Description |
|---|---|
| public class | AgentInitializationException
The exception thrown when an agent fails to initialize in the target Java virtual machine. |
| public class | AgentLoadException
The exception thrown when an agent cannot be loaded into the target Java virtual machine. |
| public class | AttachNotSupportedException
Thrown by |
| public class | AttachOperationFailedException
Exception type to signal that an attach operation failed in the target VM. |
| public class | AttachPermission
Deprecated
for removal since 25. This class was only useful in conjunction with the Security Manager,
which is no longer supported. There is no replacement for this class.
An AttachPermission object contains a name (also referred
to as a "target name") but no actions list; you either have the
named permission or you don't.
|
| public abstract class | VirtualMachine
A Java virtual machine. |
| public class | VirtualMachineDescriptor
Describes a Java virtual machine. |