org.rhq.plugins.jbossas.helper
Class JBossInstanceInfo

java.lang.Object
  extended by 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

Constructor Summary
JBossInstanceInfo(ProcessInfo processInfo)
          Parses the command line of a JBossAS process.
 
Method Summary
 JBossInstallationInfo getInstallInfo()
           
 Properties getSystemProperties()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.