org.rhq.plugins.jbossas.helper
Class JBossInstallationInfo

java.lang.Object
  extended by org.rhq.plugins.jbossas.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()
           
 JBossProductType getProductType()
           
 java.lang.String getVersion()
          Returns the version of this JBoss installation.
 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()

toString

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


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