public abstract class BaseProcessDiscovery extends Object implements ResourceDiscoveryComponent, ManualAddFacet
| Constructor and Description |
|---|
BaseProcessDiscovery() |
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext discoveryContext) throws Exception
discoverResources in interface ResourceDiscoveryComponentExceptionprotected DiscoveredResourceDetails buildResourceDetails(ResourceDiscoveryContext discoveryContext, ProcessInfo process, AS7CommandLine commandLine) throws Exception
Exceptionprotected HostConfiguration loadHostConfiguration(File hostXmlFile) throws Exception
Exceptionprotected File getHomeDir(ProcessInfo processInfo, JavaCommandLine javaCommandLine)
protected abstract ProcessInfo getPotentialStartScriptProcess(ProcessInfo process)
protected File getBaseDir(ProcessInfo process, JavaCommandLine javaCommandLine, File homeDir)
protected File getConfigDir(ProcessInfo process, JavaCommandLine javaCommandLine, File baseDir)
protected File getLogDir(ProcessInfo process, AS7CommandLine commandLine, File baseDir)
protected String getHostXmlFileName(AS7CommandLine commandLine)
protected File getHostXmlFile(AS7CommandLine commandLine, File configDir)
protected String getDefaultConfigDirName()
protected String getDefaultLogDirName()
protected abstract AS7Mode getMode()
protected abstract String getBaseDirSystemPropertyName()
protected abstract String getConfigDirSystemPropertyName()
protected abstract String getLogDirSystemPropertyName()
protected abstract String getDefaultBaseDirName()
protected abstract String getLogFileName()
protected abstract String buildDefaultResourceName(HostPort hostPort, HostPort managementHostPort, JBossProductType productType)
protected abstract String buildDefaultResourceDescription(HostPort hostPort, JBossProductType productType)
public DiscoveredResourceDetails discoverResource(org.rhq.core.domain.configuration.Configuration pluginConfig, ResourceDiscoveryContext context) throws InvalidPluginConfigurationException
discoverResource in interface ManualAddFacetInvalidPluginConfigurationExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.