org.rhq.plugins.jbossas5.helper
Class JBossInstallationInfo

java.lang.Object
  extended by org.rhq.plugins.jbossas5.helper.JBossInstallationInfo

public class JBossInstallationInfo
extends Object

A class that aggregates various static information about a JBoss AS/EAP/SOA-P installation.

Author:
Ian Springer, Jessica Sant

Constructor Summary
JBossInstallationInfo(File installationDir)
           
 
Method Summary
 String getDefaultBindAddress()
           
 String getMajorVersion()
           
 JBossProductType getProductType()
           
 String getVersion()
          Returns the version of this JBoss installation.
 boolean isEap()
          Returns if this is an EAP version of the server
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JBossInstallationInfo

public JBossInstallationInfo(File installationDir)
                      throws IOException
Throws:
IOException
Method Detail

getProductType

public JBossProductType getProductType()

getVersion

public String getVersion()
Returns the version of this JBoss installation. AS versions 4.0.4 or later will be OSGi-style (e.g. 4.0.4.GA); earlier versions will not (e.g. 4.0.1sp1, 4.0.2).

Returns:
the version of this JBoss installation

getDefaultBindAddress

public String getDefaultBindAddress()

isEap

public boolean isEap()
Returns if this is an EAP version of the server

Returns:

getMajorVersion

public String getMajorVersion()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.