Package de.hybris.platform.jmx
Class JmxClient
- java.lang.Object
-
- de.hybris.platform.jmx.JmxClient
-
public class JmxClient extends java.lang.ObjectJMX utilities
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJmxClient.ConnectionArgsA helper class to analyze the command line and create a JMXServiceURL.
-
Constructor Summary
Constructors Constructor Description JmxClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)static 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.)
-
-
-
Method Detail
-
restartWrapper
public static void restartWrapper(int pid) throws java.lang.Exceptionrestarts 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:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Parameters:
args- the command line arguments: must be -url, or -port [-host , or -help - Throws:
java.lang.Exception
-
-