org.jboss.on.plugins.tomcat
Class TomcatVHostComponent
java.lang.Object
org.rhq.plugins.jmx.MBeanResourceComponent<TomcatServerComponent>
org.jboss.on.plugins.tomcat.TomcatVHostComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, ConfigurationFacetSupport, ApplicationServerComponent, CreateChildResourceFacet, ResourceComponent<TomcatServerComponent>, MeasurementFacet, OperationFacet, JMXComponent<TomcatServerComponent>
public class TomcatVHostComponent
- extends MBeanResourceComponent<TomcatServerComponent>
- implements ApplicationServerComponent, CreateChildResourceFacet
Handle generic information about a virtual host in tomcat
- Author:
- Jay Shaughnessy, Heiko W. Rupp
| Methods inherited from class org.rhq.plugins.jmx.MBeanResourceComponent |
getAttributeName, getAttributeProperty, getAvailability, getBeanProperties, getEmsBean, getEmsConnection, getResourceContext, getValues, getValues, invokeOperation, invokeOperation, loadBean, loadBean, lookupAttributeProperty, setEmsBean, setResourceContext, start, stop, transformBeanName, updateResourceConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_ALIASES
public static final String CONFIG_ALIASES
- See Also:
- Constant Field Values
CONFIG_APP_BASE
public static final String CONFIG_APP_BASE
- See Also:
- Constant Field Values
CONFIG_UNPACK_WARS
public static final String CONFIG_UNPACK_WARS
- See Also:
- Constant Field Values
CONTENT_CONFIG_EXPLODE_ON_DEPLOY
public static final String CONTENT_CONFIG_EXPLODE_ON_DEPLOY
- See Also:
- Constant Field Values
PLUGIN_CONFIG_NAME
public static final String PLUGIN_CONFIG_NAME
- See Also:
- Constant Field Values
TomcatVHostComponent
public TomcatVHostComponent()
loadResourceConfiguration
public Configuration loadResourceConfiguration()
- Roles and Groups are handled as comma delimited lists and offered up as a String array of object names by the MBean
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet- Overrides:
loadResourceConfiguration in class MBeanResourceComponent<TomcatServerComponent>
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport report)
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet- Overrides:
updateResourceConfiguration in class MBeanResourceComponent<TomcatServerComponent>
getCatalinaBase
public File getCatalinaBase()
getName
public String getName()
getConfigurationPath
public File getConfigurationPath()
- Specified by:
getConfigurationPath in interface ApplicationServerComponent
createResource
public CreateResourceReport createResource(CreateResourceReport report)
- Specified by:
createResource in interface CreateChildResourceFacet
isWebApplication
public boolean isWebApplication(File file)
getDeployer
public TomcatApplicationDeployer getDeployer()
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.