org.rhq.plugins.jslee.jbossas5.helper
Class JBossInstanceInfo
java.lang.Object
org.rhq.plugins.jslee.jbossas5.helper.JBossInstanceInfo
public class JBossInstanceInfo
- extends java.lang.Object
Information about a running JBossAS process. System properties, other JVM arguments, JBoss properties, and other
JBossAS arguments are parsed as org.jboss.Main would parse them, and exposed via getters.
- Author:
- Ian Springer
|
Constructor Summary |
JBossInstanceInfo(org.rhq.core.system.ProcessInfo processInfo)
Parses the command line of a JBossAS process. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JBossInstanceInfo
public JBossInstanceInfo(org.rhq.core.system.ProcessInfo processInfo)
throws java.lang.Exception
- Parses the command line of a JBossAS process.
- Parameters:
processInfo - the process info for the JBossAS process
- Throws:
java.lang.Exception - if the process does not appear to be a JBossAS process or if the JBoss home dir cannot be determined
getSystemProperties
public java.util.Properties getSystemProperties()
getInstallInfo
public JBossInstallationInfo getInstallInfo()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2012. All Rights Reserved.