| Modifier and Type | Field and Description |
|---|---|
| public static final String | DUMP_PROPERTY
Indicates that any error during attachment should be dumped to a given file location. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected static void | install(Class<?>
The virtual machine type to use for the external attachment. virtualMachineType, String The id of the process being target of the external attachment. processId, String The Java agent to attach. agent, boolean true if the agent is native.The argument to provide or argument)null if no argument is provided.Installs a Java agent on a target VM. |
| public static void | main(String[]
A list containing the fully qualified name of the virtual machine type,
the process id, the fully qualified name of the Java agent jar followed by
an empty string if the argument to the agent is args)null or any number
of strings where the first argument is proceeded by any single character
which is stripped off.Runs the attacher as a Java application. |
| DUMP_PROPERTY | back to summary |
|---|---|
| public static final String DUMP_PROPERTY Indicates that any error during attachment should be dumped to a given file location. | |
| Attacher | back to summary |
|---|---|
| private Attacher() The attacher provides only | |
| install | back to summary |
|---|---|
| protected static void install(Class<?> virtualMachineType, String processId, String agent, boolean isNative, String argument) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException Installs a Java agent on a target VM.
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) Runs the attacher as a Java application.
| |