org.apache.geronimo.management.geronimo
Interface WebManager

All Superinterfaces:
NetworkManager

public interface WebManager
extends NetworkManager

Specialization of NetworkManager for web containers.


Field Summary
static String PROTOCOL_AJP
           
static String PROTOCOL_HTTP
           
static String PROTOCOL_HTTPS
           
 
Method Summary
 WebConnector addConnector(WebContainer container, String uniqueName, String protocol, String host, int port)
          Creates and returns a new web connector.
 WebAccessLog getAccessLog(WebContainer container)
          Gets the WebAccessLog implementation for a web container.
 
Methods inherited from interface org.apache.geronimo.management.geronimo.NetworkManager
getConnectors, getConnectors, getConnectorsForContainer, getConnectorsForContainer, getContainers, getProductName, getSupportedProtocols, removeConnector
 

Field Detail

PROTOCOL_HTTP

static final String PROTOCOL_HTTP
See Also:
Constant Field Values

PROTOCOL_HTTPS

static final String PROTOCOL_HTTPS
See Also:
Constant Field Values

PROTOCOL_AJP

static final String PROTOCOL_AJP
See Also:
Constant Field Values
Method Detail

addConnector

WebConnector addConnector(WebContainer container,
                          String uniqueName,
                          String protocol,
                          String host,
                          int port)
Creates and returns a new web connector. Note that the connector may well require further customization before being fully functional (e.g. SSL settings for a secure connector). This may need to be done before starting the resulting connector.

Parameters:
container - The container to add the connector to
uniqueName - A name fragment that's unique to this connector
protocol - The protocol that the connector should use
host - The host name or IP that the connector should listen on
port - The port that the connector should listen on
Returns:
The ObjectName of the new connector.

getAccessLog

WebAccessLog getAccessLog(WebContainer container)
Gets the WebAccessLog implementation for a web container. May be null if the access log cannot be managed.

Parameters:
container - The container whose access log is interesting


Copyright © 2003-2006 Apache Software Foundation. All Rights Reserved.