|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Configuration for the <http-service> element.
| Field Summary | |
static java.lang.String |
J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType(). |
| Fields inherited from interface com.sun.appserv.management.config.AMXConfig |
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE |
| Fields inherited from interface com.sun.appserv.management.base.AMX |
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, NAME_KEY, NO_NAME, NULL_NAME |
| Fields inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
LOG_RECORD_KEY, LOG_RECORD_NOTIFICATION_TYPE |
| Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess |
PROPERTY_PREFIX |
| Fields inherited from interface com.sun.appserv.management.base.Container |
ATTR_CONTAINEE_J2EE_TYPES |
| Method Summary | |
AccessLogConfig |
createAccessLogConfig(java.util.Map params)
Creates access-log element with the given params. |
ConnectionPoolConfig |
createConnectionPoolConfig(java.util.Map params)
Creates connection-pool element with the given params. |
HTTPFileCacheConfig |
createHTTPFileCacheConfig(java.util.Map params)
Creates http-file-cache element with the given params. |
HTTPListenerConfig |
createHTTPListenerConfig(java.lang.String name,
java.lang.String address,
int port,
java.lang.String defaultVirtualServer,
java.lang.String serverName,
java.util.Map optional)
Create an HTTPListenerConfigKeys.ADDRESS_KEY
HTTPListenerConfigKeys.PORT_KEY
HTTPListenerConfigKeys.ENABLED_KEY
HTTPListenerConfigKeys.SECURITY_ENABLED_KEY
HTTPListenerConfigKeys.DEFAULT_VIRTUAL_SERVER_KEY
HTTPListenerConfigKeys.ACCEPTOR_THREADS_KEY
HTTPListenerConfigKeys.XPOWERED_BY_KEY
HTTPListenerConfigKeys.XPOWERED_BY_KEY
CommonConfigKeys.IGNORE_MISSING_REFERENCES_KEY (for defaultVirtualServer)
|
HTTPProtocolConfig |
createHTTPProtocolConfig(java.util.Map params)
Creates http-protocol element with the given params. |
KeepAliveConfig |
createKeepAliveConfig(java.util.Map params)
Creates keep-alive element with the given params. |
RequestProcessingConfig |
createRequestProcessingConfig(java.util.Map params)
Creates request-processing element with the given params. |
VirtualServerConfig |
createVirtualServerConfig(java.lang.String name,
java.lang.String hosts,
java.util.Map optional)
Create a |
AccessLogConfig |
getAccessLogConfig()
Get the AccessLogConfig. |
ConnectionPoolConfig |
getConnectionPoolConfig()
Get the ConnectionPoolConfig. |
HTTPFileCacheConfig |
getHTTPFileCacheConfig()
|
java.util.Map |
getHTTPListenerConfigMap()
Calls Container.getContaineeMap( XTypes.HTTP_LISTENER_CONFIG ). |
HTTPProtocolConfig |
getHTTPProtocolConfig()
|
KeepAliveConfig |
getKeepAliveConfig()
|
RequestProcessingConfig |
getRequestProcessingConfig()
Get the RequestProcessingConfig. |
java.util.Map |
getVirtualServerConfigMap()
Calls Container.getContaineeMap( XTypes.VIRTUAL_SERVER_CONFIG ). |
void |
removeAccessLogConfig()
Removes access-log element. |
void |
removeConnectionPoolConfig()
Removes connection-pool element. |
void |
removeHTTPFileCacheConfig()
Removes http-file-cache element. |
void |
removeHTTPListenerConfig(java.lang.String name)
Remove the <http-listener>. |
void |
removeHTTPProtocolConfig()
Removes http-protocol element. |
void |
removeKeepAliveConfig()
Removes keep-alive element. |
void |
removeRequestProcessingConfig()
Removes request-processing element. |
void |
removeVirtualServerConfig(java.lang.String virtualServerName)
Remove the <virtual-server>. |
| Methods inherited from interface com.sun.appserv.management.base.AMX |
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName |
| Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
getMBeanEmitLogNotifications, getMBeanLoggerName, getMBeanLogLevel, setMBeanEmitLogNotifications, setMBeanLogLevel |
| Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
| Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
| Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess |
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue |
| Methods inherited from interface com.sun.appserv.management.base.Container |
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap |
| Field Detail |
public static final java.lang.String J2EE_TYPE
AMX.getJ2EEType().
| Method Detail |
public java.util.Map getHTTPListenerConfigMap()
Container.getContaineeMap(java.lang.String)public java.util.Map getVirtualServerConfigMap()
Container.getContaineeMap(java.lang.String)public AccessLogConfig createAccessLogConfig(java.util.Map params)
params -
AccessLogConfigKeyspublic void removeAccessLogConfig()
public RequestProcessingConfig createRequestProcessingConfig(java.util.Map params)
params -
RequestProcessingConfigKeyspublic void removeRequestProcessingConfig()
public KeepAliveConfig getKeepAliveConfig()
public KeepAliveConfig createKeepAliveConfig(java.util.Map params)
params -
KeepAliveConfigKeyspublic void removeKeepAliveConfig()
public ConnectionPoolConfig createConnectionPoolConfig(java.util.Map params)
params -
ConnectionPoolConfigKeyspublic void removeConnectionPoolConfig()
public HTTPProtocolConfig getHTTPProtocolConfig()
public HTTPProtocolConfig createHTTPProtocolConfig(java.util.Map params)
params -
HTTPProtocolConfigKeyspublic void removeHTTPProtocolConfig()
public HTTPFileCacheConfig getHTTPFileCacheConfig()
public HTTPFileCacheConfig createHTTPFileCacheConfig(java.util.Map params)
params -
HTTPFileCacheConfigKeyspublic void removeHTTPFileCacheConfig()
public HTTPListenerConfig createHTTPListenerConfig(java.lang.String name,
java.lang.String address,
int port,
java.lang.String defaultVirtualServer,
java.lang.String serverName,
java.util.Map optional)
HTTPListenerConfigKeys.ADDRESS_KEYHTTPListenerConfigKeys.PORT_KEYHTTPListenerConfigKeys.ENABLED_KEYHTTPListenerConfigKeys.SECURITY_ENABLED_KEYHTTPListenerConfigKeys.DEFAULT_VIRTUAL_SERVER_KEYHTTPListenerConfigKeys.ACCEPTOR_THREADS_KEYHTTPListenerConfigKeys.XPOWERED_BY_KEYHTTPListenerConfigKeys.XPOWERED_BY_KEYCommonConfigKeys.IGNORE_MISSING_REFERENCES_KEY (for defaultVirtualServer)
name - the name (id) of the newly created listeneraddress - IP address of the listenerport - port of the listenerdefaultVirtualServer - The name of the default
virtual server for this particular connection group.serverName - optional - optional parameters keyed by one of XXX_KEY
HTTPListenerConfigKeyspublic void removeHTTPListenerConfig(java.lang.String name)
name - the name (id) of the http listener to be removed.
public VirtualServerConfig createVirtualServerConfig(java.lang.String name,
java.lang.String hosts,
java.util.Map optional)
VirtualServerConfigKeys.HTTP_LISTENERS_KEY
VirtualServerConfigKeys.STATE_KEY
VirtualServerConfigKeys.DOC_ROOT_PROPERTY_KEY
VirtualServerConfigKeys.ACCESS_LOG_PROPERTY_KEY
name - the name (id) of the newly created virtual serverhosts - comma-separated list of hostsoptional - optional params
VirtualServerConfigKeyspublic void removeVirtualServerConfig(java.lang.String virtualServerName)
virtualServerName - public AccessLogConfig getAccessLogConfig()
public RequestProcessingConfig getRequestProcessingConfig()
public ConnectionPoolConfig getConnectionPoolConfig()
|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.