|
||||||||||
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.
Field Summary | |
---|---|
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Fields inherited from interface org.apache.geronimo.management.geronimo.WebManager |
---|
PROTOCOL_AJP, PROTOCOL_HTTP, PROTOCOL_HTTPS |
Constructor Summary | |
---|---|
TomcatManagerImpl(org.apache.geronimo.kernel.Kernel kernel)
|
Method Summary | |
---|---|
org.apache.geronimo.management.geronimo.WebConnector |
addConnector(org.apache.geronimo.management.geronimo.WebContainer container,
String uniqueName,
String protocol,
String host,
int port)
Creates and returns a new connector. |
org.apache.geronimo.management.geronimo.WebAccessLog |
getAccessLog(org.apache.geronimo.management.geronimo.WebContainer container)
|
org.apache.geronimo.management.geronimo.NetworkConnector[] |
getConnectors()
Gets the ObjectNames of any existing connectors associated with this network technology. |
org.apache.geronimo.management.geronimo.NetworkConnector[] |
getConnectors(String protocol)
Gets the ObjectNames of any existing connectors for this network technology for the specified protocol. |
org.apache.geronimo.management.geronimo.NetworkConnector[] |
getConnectorsForContainer(Object container)
Gets the ObjectNames of any existing connectors for the specified container. |
org.apache.geronimo.management.geronimo.NetworkConnector[] |
getConnectorsForContainer(Object container,
String protocol)
Gets the ObjectNames of any existing connectors for the specified container for the specified protocol. |
Object[] |
getContainers()
Gets the network containers. |
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
String |
getProductName()
|
String[] |
getSupportedProtocols()
Gets the protocols which this container can configure connectors for. |
void |
removeConnector(org.apache.geronimo.gbean.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 org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public TomcatManagerImpl(org.apache.geronimo.kernel.Kernel kernel)
Method Detail |
---|
public String getProductName()
getProductName
in interface org.apache.geronimo.management.geronimo.NetworkManager
public org.apache.geronimo.management.geronimo.WebConnector addConnector(org.apache.geronimo.management.geronimo.WebContainer container, String uniqueName, String protocol, String host, int port)
addConnector
in interface org.apache.geronimo.management.geronimo.WebManager
container
- The container to add the connector touniqueName
- A name fragment that's unique to this connectorprotocol
- The protocol that the connector should usehost
- The host name or IP that the connector should listen onport
- The port that the connector should listen onpublic Object[] getContainers()
getContainers
in interface org.apache.geronimo.management.geronimo.NetworkManager
public String[] getSupportedProtocols()
getSupportedProtocols
in interface org.apache.geronimo.management.geronimo.NetworkManager
public void removeConnector(org.apache.geronimo.gbean.AbstractName connectorName)
removeConnector
in interface org.apache.geronimo.management.geronimo.NetworkManager
connectorName
- public org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectors(String protocol)
getConnectors
in interface org.apache.geronimo.management.geronimo.NetworkManager
protocol
- A protocol as returned by getSupportedProtocolspublic org.apache.geronimo.management.geronimo.WebAccessLog getAccessLog(org.apache.geronimo.management.geronimo.WebContainer container)
getAccessLog
in interface org.apache.geronimo.management.geronimo.WebManager
public org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectors()
getConnectors
in interface org.apache.geronimo.management.geronimo.NetworkManager
public org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectorsForContainer(Object container, String protocol)
getConnectorsForContainer
in interface org.apache.geronimo.management.geronimo.NetworkManager
protocol
- A protocol as returned by getSupportedProtocolspublic org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectorsForContainer(Object container)
getConnectorsForContainer
in interface org.apache.geronimo.management.geronimo.NetworkManager
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |