org.jboss.on.plugins.tomcat
Class TomcatDiscoveryComponent
java.lang.Object
org.jboss.on.plugins.tomcat.TomcatDiscoveryComponent
- All Implemented Interfaces:
- ManualAddFacet, ResourceDiscoveryComponent
public class TomcatDiscoveryComponent
- extends Object
- implements ResourceDiscoveryComponent, ManualAddFacet
Discovers JBoss EWS and Apache Tomcat5, Tomcat6 server instances.
- Author:
- Jay Shaughnessy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNKNOWN_PORT
public static final String UNKNOWN_PORT
- Indicates the version information could not be determined.
- See Also:
- Constant Field Values
UNKNOWN_VERSION
public static final String UNKNOWN_VERSION
- See Also:
- Constant Field Values
PROPERTY_CATALINA_BASE
public static final String PROPERTY_CATALINA_BASE
- See Also:
- Constant Field Values
PROPERTY_CATALINA_HOME
public static final String PROPERTY_CATALINA_HOME
- See Also:
- Constant Field Values
EWS_TOMCAT_6
public static final String EWS_TOMCAT_6
- EWS RPM Install path substrings used to identify EWS tomcat version
- See Also:
- Constant Field Values
EWS_TOMCAT_5
public static final String EWS_TOMCAT_5
- See Also:
- Constant Field Values
TomcatDiscoveryComponent
public TomcatDiscoveryComponent()
discoverResources
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext context)
- Specified by:
discoverResources in interface ResourceDiscoveryComponent
discoverResource
public DiscoveredResourceDetails discoverResource(org.rhq.core.domain.configuration.Configuration pluginConfig,
ResourceDiscoveryContext discoveryContext)
throws InvalidPluginConfigurationException
- Specified by:
discoverResource in interface ManualAddFacet
- Throws:
InvalidPluginConfigurationException
isEWSTomcat5
public static boolean isEWSTomcat5(String catalinaHome)
isEWSTomcat6
public static boolean isEWSTomcat6(String catalinaHome)
isRPMTomcat5
public static boolean isRPMTomcat5(String catalinaHome)
isRPMTomcat6
public static boolean isRPMTomcat6(String catalinaHome)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.