|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.tomcat.TomcatManagerImpl
public class TomcatManagerImpl
Tomcat implementation of the WebManager management API. Knows how to manipulate other Tomcat objects for management purposes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.geronimo.management.geronimo.WebManager |
|---|
WebManager.ConnectorAttribute<T>, WebManager.ConnectorType |
| Field Summary | |
|---|---|
static GBeanInfo |
GBEAN_INFO
|
| Fields inherited from interface org.apache.geronimo.management.geronimo.WebManager |
|---|
PROTOCOL_AJP, PROTOCOL_HTTP, PROTOCOL_HTTPS |
| Constructor Summary | |
|---|---|
TomcatManagerImpl(Kernel kernel)
|
|
| Method Summary | |
|---|---|
WebAccessLog |
getAccessLog(WebContainer container)
Gets the WebAccessLog implementation for a web container. |
List<WebManager.ConnectorAttribute> |
getConnectorAttributes(WebManager.ConnectorType connectorType)
|
AbstractName |
getConnectorConfiguration(WebManager.ConnectorType connectorType,
List<WebManager.ConnectorAttribute> connectorAttributes,
WebContainer container,
String uniqueName)
|
NetworkConnector[] |
getConnectors()
Gets the ObjectNames of any existing connectors associated with this network technology. |
NetworkConnector[] |
getConnectors(String protocol)
Gets the ObjectNames of any existing connectors for this network technology for the specified protocol. |
NetworkConnector[] |
getConnectorsForContainer(Object container)
Gets the ObjectNames of any existing connectors for the specified container. |
NetworkConnector[] |
getConnectorsForContainer(Object container,
String protocol)
Gets the ObjectNames of any existing connectors for the specified container for the specified protocol. |
WebManager.ConnectorType |
getConnectorType(AbstractName connectorName)
|
List<WebManager.ConnectorType> |
getConnectorTypes()
|
Object[] |
getContainers()
Gets the network containers. |
static GBeanInfo |
getGBeanInfo()
|
String |
getProductName()
Gets the name of the product that this manager manages. |
String[] |
getSupportedProtocols()
Gets the protocols which this container can configure connectors for. |
void |
removeConnector(AbstractName connectorName)
Removes a connector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public TomcatManagerImpl(Kernel kernel)
| Method Detail |
|---|
public String getProductName()
NetworkManager
getProductName in interface NetworkManagerpublic Object[] getContainers()
getContainers in interface NetworkManagerpublic String[] getSupportedProtocols()
getSupportedProtocols in interface NetworkManagerpublic void removeConnector(AbstractName connectorName)
removeConnector in interface NetworkManagerconnectorName - public NetworkConnector[] getConnectors(String protocol)
getConnectors in interface NetworkManagerprotocol - A protocol as returned by getSupportedProtocolspublic WebAccessLog getAccessLog(WebContainer container)
WebManager
getAccessLog in interface WebManagercontainer - The container whose access log is interestingpublic List<WebManager.ConnectorType> getConnectorTypes()
getConnectorTypes in interface WebManagerpublic List<WebManager.ConnectorAttribute> getConnectorAttributes(WebManager.ConnectorType connectorType)
getConnectorAttributes in interface WebManager
public AbstractName getConnectorConfiguration(WebManager.ConnectorType connectorType,
List<WebManager.ConnectorAttribute> connectorAttributes,
WebContainer container,
String uniqueName)
getConnectorConfiguration in interface WebManagerpublic NetworkConnector[] getConnectors()
getConnectors in interface NetworkManager
public NetworkConnector[] getConnectorsForContainer(Object container,
String protocol)
getConnectorsForContainer in interface NetworkManagerprotocol - A protocol as returned by getSupportedProtocolscontainer - The container to get connectors forpublic NetworkConnector[] getConnectorsForContainer(Object container)
getConnectorsForContainer in interface NetworkManagercontainer - The container to get connectors forpublic WebManager.ConnectorType getConnectorType(AbstractName connectorName)
getConnectorType in interface WebManagerpublic static GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||