|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AvailabilityServiceConfig
Configuration for the <availability-service> element.
Field Summary | |
---|---|
static 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, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME |
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 | |
---|---|
EJBContainerAvailabilityConfig |
createEJBContainerAvailabilityConfig(Map<String,String> params)
Creates an ejb-container-availability element. |
void |
createJMSAvailabilityConfig(boolean availabilityEnabled,
String mqStorePoolName)
|
WebContainerAvailabilityConfig |
createWebContainerAvailabilityConfig(Map<String,String> params)
Creates a web-container-availability element |
boolean |
getAutoManageHAStore()
If set to true, the lifecycle of the highly available store is matched with the lifecycle of the highly available cluster. |
boolean |
getAvailabilityEnabled()
|
EJBContainerAvailabilityConfig |
getEJBContainerAvailabilityConfig()
Get the EJBContainerAvailabilityConfig MBean. |
String |
getHAAgentHosts()
comma-delimited list of server host names or IP addresses where high availability store management agents are running. |
String |
getHAAgentPassword()
|
String |
getHAAgentPort()
port number where highly available store management agents can be contacted. |
boolean |
getHAStoreHealthcheckEnabled()
Application server stops saving session state when the store service does not function properly or is is not accessible for any reason. |
String |
getHAStoreHealthcheckIntervalSeconds()
The periodicity at which store health is checked. |
String |
getHAStoreName()
Name of the session store. |
JMSAvailabilityConfig |
getJMSAvailabilityConfig()
|
String |
getStorePoolName()
This is the jndi-name for the JDBC Connection Pool used potentially by both the Web Container and the EJB Stateful Session Bean Container for use in checkpointing/passivation when persistence-type = "ha". |
WebContainerAvailabilityConfig |
getWebContainerAvailabilityConfig()
Get the WebContainerAvailabilityConfig MBean. |
void |
removeEJBContainerAvailabilityConfig()
Removes ejb-container-availability element from the config. |
void |
removeJMSAvailabilityConfig()
|
void |
removeWebContainerAvailabilityConfig()
Removes web-container-availability element from the config. |
void |
setAutoManageHAStore(boolean enabled)
If set to true, the lifecycle of the highly available store is matched with the lifecycle of the highly available cluster. |
void |
setAvailabilityEnabled(boolean enabled)
|
void |
setHAAgentHosts(String value)
comma-delimited list of server host names or IP addresses where high availability store management agents are running. |
void |
setHAAgentPassword(String password)
|
void |
setHAAgentPort(String value)
port number where highly available store management agents can be contacted. |
void |
setHAStoreHealthcheckEnabled(boolean value)
|
void |
setHAStoreHealthcheckIntervalSeconds(String value)
The periodicity at which store health is checked. |
void |
setHAStoreName(String value)
Name of the session store. |
void |
setStorePoolName(String storePoolName)
This is the jndi-name for the JDBC Connection Pool used potentially by both the Web Container and the EJB Stateful Session Bean Container for use in checkpointing/passivation when persistence-type = "ha". |
Methods inherited from interface com.sun.appserv.management.base.AMX |
---|
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS |
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.base.AMXMBeanLogging |
---|
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel |
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 |
---|
static final String J2EE_TYPE
AMX.getJ2EEType()
.
Method Detail |
---|
EJBContainerAvailabilityConfig createEJBContainerAvailabilityConfig(Map<String,String> params)
params
-
EJBContainerAvailabilityConfigKeys
void removeEJBContainerAvailabilityConfig()
WebContainerAvailabilityConfig createWebContainerAvailabilityConfig(Map<String,String> params)
params
-
WebContainerAvailabilityConfigKeys
void removeWebContainerAvailabilityConfig()
EJBContainerAvailabilityConfig getEJBContainerAvailabilityConfig()
WebContainerAvailabilityConfig getWebContainerAvailabilityConfig()
boolean getAvailabilityEnabled()
void setAvailabilityEnabled(boolean enabled)
boolean getAutoManageHAStore()
void setAutoManageHAStore(boolean enabled)
enabled
- sets the value of auto-manage-ha-storeString getStorePoolName()
void setStorePoolName(String storePoolName)
storePoolName
- the jndi-nameString getHAAgentHosts()
void setHAAgentHosts(String value)
value
- the stored hostnames or IP addressesString getHAAgentPort()
void setHAAgentPort(String value)
value
- the port numberString getHAAgentPassword()
void setHAAgentPassword(String password)
String getHAStoreHealthcheckIntervalSeconds()
void setHAStoreHealthcheckIntervalSeconds(String value)
value
- the interval time in secondsString getHAStoreName()
void setHAStoreName(String value)
value
- the new store nameboolean getHAStoreHealthcheckEnabled()
void setHAStoreHealthcheckEnabled(boolean value)
JMSAvailabilityConfig getJMSAvailabilityConfig()
void createJMSAvailabilityConfig(boolean availabilityEnabled, String mqStorePoolName)
void removeJMSAvailabilityConfig()
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.