com.sun.appserv.management.config
Interface ClusterConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, ConfigRemover, Container, DeployedItemRefConfigCR, NamedConfigElement, NotificationBroadcaster, NotificationEmitter, PropertiesAccess, ResourceRefConfigCR, ServerRefConfigCR, SystemPropertiesAccess

public interface ClusterConfig
extends PropertiesAccess, SystemPropertiesAccess, NamedConfigElement, Container, ResourceRefConfigCR, ServerRefConfigCR, DeployedItemRefConfigCR

Configuration for the <cluster> element.


Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Fields inherited from interface com.sun.appserv.management.config.SystemPropertiesAccess
SYSTEM_PROPERTY_PREFIX
 
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.base.Container
ATTR_CONTAINEE_J2EE_TYPES
 
Fields inherited from interface com.sun.appserv.management.config.ServerRefConfigCR
DISABLE_TIMEOUT_IN_MINUTES_KEY, ENABLED_KEY, LB_ENABLED_KEY
 
Fields inherited from interface com.sun.appserv.management.config.DeployedItemRefConfigCR
DISABLE_TIMEOUT_IN_MINUTES_KEY, ENABLED_KEY, LB_ENABLED_KEY, REF_KEY, VIRTUAL_SERVERS_KEY
 
Method Summary
 ClusteredServerConfig createClusteredServerConfig(String name, String nodeAgentName, Map<String,String> optional)
           
 Map<String,ClusteredServerConfig> getClusteredServerConfigMap()
           
 Map<String,DeployedItemRefConfig> getDeployedItemRefConfigMap()
          Calls Container.getContaineeMap( XTypes.DEPLOYED_ITEM_REF_CONFIG ).
 String getHeartbeatAddress()
           
 boolean getHeartbeatEnabled()
           
 String getHeartbeatPort()
          Return the port used by GMS for group events.
 String getReferencedConfigName()
          Get the name of the config element referenced by this cluster.
 Map<String,ResourceRefConfig> getResourceRefConfigMap()
          Calls Container.getContaineeMap( XTypes.RESOURCE_REF_CONFIG ).
 Map<String,ServerRefConfig> getServerRefConfigMap()
          Calls Container.getContaineeMap( XTypes.SERVER_REF_CONFIG ).
 void removeClusteredServerConfig(String name)
           
 void setHeartbeatAddress(String address)
           
 void setHeartbeatEnabled(boolean enabled)
           
 void setHeartbeatPort(String port)
           
 
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.config.SystemPropertiesAccess
createSystemProperty, existsSystemProperty, getSystemProperties, getSystemPropertyNames, getSystemPropertyValue, removeSystemProperty, setSystemPropertyValue
 
Methods inherited from interface com.sun.appserv.management.config.AMXConfig
getDefaultValue
 
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.base.Container
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap
 
Methods inherited from interface com.sun.appserv.management.config.ResourceRefConfigCR
createResourceRefConfig, createResourceRefConfig, createResourceRefConfig, removeResourceRefConfig
 
Methods inherited from interface com.sun.appserv.management.config.ConfigRemover
removeConfig
 
Methods inherited from interface com.sun.appserv.management.config.ServerRefConfigCR
createServerRefConfig, createServerRefConfig, removeServerRefConfig
 
Methods inherited from interface com.sun.appserv.management.config.ConfigRemover
removeConfig
 
Methods inherited from interface com.sun.appserv.management.config.DeployedItemRefConfigCR
createDeployedItemRefConfig, createDeployedItemRefConfig, createDeployedItemRefConfig, removeDeployedItemRefConfig
 
Methods inherited from interface com.sun.appserv.management.config.ConfigRemover
removeConfig
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values
Method Detail

getReferencedConfigName

String getReferencedConfigName()
Get the name of the config element referenced by this cluster.


getServerRefConfigMap

Map<String,ServerRefConfig> getServerRefConfigMap()
Calls Container.getContaineeMap( XTypes.SERVER_REF_CONFIG ).

Returns:
Map of ServerRefConfig MBean proxies, keyed by name.
See Also:
Container.getContaineeMap(java.lang.String)

getResourceRefConfigMap

Map<String,ResourceRefConfig> getResourceRefConfigMap()
Calls Container.getContaineeMap( XTypes.RESOURCE_REF_CONFIG ).

Returns:
Map of ResourceRefConfig MBean proxies, keyed by name.
See Also:
Container.getContaineeMap(java.lang.String)

getDeployedItemRefConfigMap

Map<String,DeployedItemRefConfig> getDeployedItemRefConfigMap()
Calls Container.getContaineeMap( XTypes.DEPLOYED_ITEM_REF_CONFIG ).

Returns:
Map of DeployedItemRefConfig MBean proxies, keyed by name.
See Also:
Container.getContaineeMap(java.lang.String)

getClusteredServerConfigMap

Map<String,ClusteredServerConfig> getClusteredServerConfigMap()
Returns:
Map of ClusteredServerConfig, keyed by name.

createClusteredServerConfig

ClusteredServerConfig createClusteredServerConfig(String name,
                                                  String nodeAgentName,
                                                  Map<String,String> optional)
Since:
AppServer 9.0

removeClusteredServerConfig

void removeClusteredServerConfig(String name)
Since:
AppServer 9.0

getHeartbeatPort

String getHeartbeatPort()
Return the port used by GMS for group events.

Since:
AppServer 9.0

setHeartbeatPort

void setHeartbeatPort(String port)
Since:
AppServer 9.0

getHeartbeatEnabled

boolean getHeartbeatEnabled()
Since:
AppServer 9.0

setHeartbeatEnabled

void setHeartbeatEnabled(boolean enabled)
Since:
AppServer 9.0

getHeartbeatAddress

String getHeartbeatAddress()
Since:
AppServer 9.0

setHeartbeatAddress

void setHeartbeatAddress(String address)
Since:
AppServer 9.0