Package org.jolokia.jvmagent.client
Class AgentLauncher
java.lang.Object
org.jolokia.jvmagent.client.AgentLauncher
Launcher for attaching/detaching a Jolokia agent dynamically to an already
running Java process.
This launcher tries hard to detect the required classes from tools.jar dynamically. For Mac OSX
these classes are already included, for other they are looked up within JAVA_HOME
(pointed to by the system property java.home). Classes from tools.jar are never
referenced directly but looked up via reflection.
- Since:
- 28.07.11
- Author:
- roland, Greg Bowyer
-
Method Summary
-
Method Details
-
main
Main method for attaching agent to a running JVM program. Use '--help' for a usage explanation.- Parameters:
args- command line arguments
-