org.rhq.plugins.jslee.jbossas5.helper
Class JBossInstallationInfo

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

public class JBossInstallationInfo
extends java.lang.Object

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

Author:
Ian Springer, Jessica Sant

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

Constructor Detail

JBossInstallationInfo

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

getProductType

public JBossProductType getProductType()

getVersion

public java.lang.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 java.lang.String getDefaultBindAddress()

isEap

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

Returns:

getMajorVersion

public java.lang.String getMajorVersion()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012. All Rights Reserved.