org.rhq.plugins.jbossas.helper
Class JBossInstanceInfo
java.lang.Object
org.rhq.plugins.jbossas.helper.JBossInstanceInfo
public class JBossInstanceInfo
- extends 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
JBossInstanceInfo
public JBossInstanceInfo(ProcessInfo processInfo)
throws Exception
- Parses the command line of a JBossAS process.
- Parameters:
processInfo - the process info for the JBossAS process
- Throws:
Exception - if the process does not appear to be a JBossAS process or if the JBoss home dir cannot be
determined
getSystemProperties
public Properties getSystemProperties()
getInstallInfo
public JBossInstallationInfo getInstallInfo()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.