org.rhq.modules.plugins.jbossas7
Class StandaloneASDiscovery

java.lang.Object
  extended by org.rhq.modules.plugins.jbossas7.BaseProcessDiscovery
      extended by org.rhq.modules.plugins.jbossas7.StandaloneASDiscovery
All Implemented Interfaces:
ManualAddFacet, ResourceDiscoveryComponent

public class StandaloneASDiscovery
extends BaseProcessDiscovery

Discovery component for "JBossAS7 Standalone Server" Resources.

Author:
Ian Springer

Constructor Summary
StandaloneASDiscovery()
           
 
Method Summary
protected  String buildDefaultResourceDescription(HostPort hostPort, JBossProductType productType)
           
protected  String buildDefaultResourceName(HostPort hostPort, HostPort managementHostPort, JBossProductType productType)
           
protected  DiscoveredResourceDetails buildResourceDetails(ResourceDiscoveryContext discoveryContext, ProcessInfo process, AS7CommandLine commandLine)
           
protected  String getBaseDirSystemPropertyName()
           
protected  String getConfigDirSystemPropertyName()
           
protected  String getDefaultBaseDirName()
           
protected  String getLogDirSystemPropertyName()
           
protected  String getLogFileName()
           
protected  AS7Mode getMode()
           
protected  ProcessInfo getPotentialStartScriptProcess(ProcessInfo process)
           
 
Methods inherited from class org.rhq.modules.plugins.jbossas7.BaseProcessDiscovery
determineServerVersionFromHomeDir, discoverResource, discoverResources, getBaseDir, getConfigDir, getDefaultConfigDirName, getDefaultLogDirName, getHomeDir, getHostXmlFile, getHostXmlFileName, getLogDir, getLogFile, loadHostConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandaloneASDiscovery

public StandaloneASDiscovery()
Method Detail

getMode

protected AS7Mode getMode()
Specified by:
getMode in class BaseProcessDiscovery

getBaseDirSystemPropertyName

protected String getBaseDirSystemPropertyName()
Specified by:
getBaseDirSystemPropertyName in class BaseProcessDiscovery

getConfigDirSystemPropertyName

protected String getConfigDirSystemPropertyName()
Specified by:
getConfigDirSystemPropertyName in class BaseProcessDiscovery

getLogDirSystemPropertyName

protected String getLogDirSystemPropertyName()
Specified by:
getLogDirSystemPropertyName in class BaseProcessDiscovery

getDefaultBaseDirName

protected String getDefaultBaseDirName()
Specified by:
getDefaultBaseDirName in class BaseProcessDiscovery

getLogFileName

protected String getLogFileName()
Specified by:
getLogFileName in class BaseProcessDiscovery

buildDefaultResourceName

protected String buildDefaultResourceName(HostPort hostPort,
                                          HostPort managementHostPort,
                                          JBossProductType productType)
Specified by:
buildDefaultResourceName in class BaseProcessDiscovery

buildDefaultResourceDescription

protected String buildDefaultResourceDescription(HostPort hostPort,
                                                 JBossProductType productType)
Specified by:
buildDefaultResourceDescription in class BaseProcessDiscovery

buildResourceDetails

protected DiscoveredResourceDetails buildResourceDetails(ResourceDiscoveryContext discoveryContext,
                                                         ProcessInfo process,
                                                         AS7CommandLine commandLine)
                                                  throws Exception
Overrides:
buildResourceDetails in class BaseProcessDiscovery
Throws:
Exception

getPotentialStartScriptProcess

protected ProcessInfo getPotentialStartScriptProcess(ProcessInfo process)
Specified by:
getPotentialStartScriptProcess in class BaseProcessDiscovery


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