|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 NetworkManager
public Object[] getContainers()
getContainers
in interface NetworkManager
public String[] getSupportedProtocols()
getSupportedProtocols
in interface NetworkManager
public void removeConnector(AbstractName connectorName)
removeConnector
in interface NetworkManager
connectorName
- public NetworkConnector[] getConnectors(String protocol)
getConnectors
in interface NetworkManager
protocol
- A protocol as returned by getSupportedProtocolspublic WebAccessLog getAccessLog(WebContainer container)
WebManager
getAccessLog
in interface WebManager
container
- The container whose access log is interestingpublic List<WebManager.ConnectorType> getConnectorTypes()
getConnectorTypes
in interface WebManager
public 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 WebManager
public NetworkConnector[] getConnectors()
getConnectors
in interface NetworkManager
public NetworkConnector[] getConnectorsForContainer(Object container, String protocol)
getConnectorsForContainer
in interface NetworkManager
protocol
- A protocol as returned by getSupportedProtocolscontainer
- The container to get connectors forpublic NetworkConnector[] getConnectorsForContainer(Object container)
getConnectorsForContainer
in interface NetworkManager
container
- The container to get connectors forpublic static GBeanInfo getGBeanInfo()
public WebManager.ConnectorType getConnectorType(AbstractName connectorName)
getConnectorType
in interface WebManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |