public final class AgentLauncher
extends Object
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