Package de.hybris.platform.jmx
Class JmxClient
java.lang.Object
de.hybris.platform.jmx.JmxClient
JMX utilities
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA helper class to analyze the command line and create a JMXServiceURL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidrestartWrapper(int pid) restarts tomcat running with Tanukiwrapper on given pid if it was the tomcat that was started from this machine (it checks if the pid of the connected instance matches the pid given as argument.)
-
Constructor Details
-
JmxClient
public JmxClient()
-
-
Method Details
-
restartWrapper
restarts tomcat running with Tanukiwrapper on given pid if it was the tomcat that was started from this machine (it checks if the pid of the connected instance matches the pid given as argument.)- Throws:
Exception
-
main
- Parameters:
args- the command line arguments: must be -url <jmx-url>, or -port <port-number> [-host <host-or-ip], or -pid, or -help
-