FileDocCategorySizeDatePackage
ClusterConfig.javaAPI DocGlassfish v2 API4693Fri May 04 22:30:32 BST 2007com.sun.appserv.management.config

ClusterConfig

public interface ClusterConfig implements com.sun.appserv.management.base.Container, ServerRefConfigCR, DeployedItemRefConfigCR, ResourceRefConfigCR, PropertiesAccess, SystemPropertiesAccess, NamedConfigElement
Configuration for the <cluster> element.

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
Constructors Summary
Methods Summary
public ClusteredServerConfigcreateClusteredServerConfig(java.lang.String name, java.lang.String nodeAgentName, java.util.Map optional)

since
AppServer 9.0

public java.util.MapgetClusteredServerConfigMap()

return
Map of ClusteredServerConfig, keyed by name.

public java.util.MapgetDeployedItemRefConfigMap()
Calls Container.getContaineeMap( XTypes.DEPLOYED_ITEM_REF_CONFIG ).

return
Map of DeployedItemRefConfig MBean proxies, keyed by name.
see
com.sun.appserv.management.base.Container#getContaineeMap

public java.lang.StringgetHeartbeatAddress()

since
AppServer 9.0

public booleangetHeartbeatEnabled()

since
AppServer 9.0

public java.lang.StringgetHeartbeatPort()
Return the port used by GMS for group events.

since
AppServer 9.0

public java.lang.StringgetReferencedConfigName()
Get the name of the config element referenced by this cluster.

public java.util.MapgetResourceRefConfigMap()
Calls Container.getContaineeMap( XTypes.RESOURCE_REF_CONFIG ).

return
Map of ResourceRefConfig MBean proxies, keyed by name.
see
com.sun.appserv.management.base.Container#getContaineeMap

public java.util.MapgetServerRefConfigMap()
Calls Container.getContaineeMap( XTypes.SERVER_REF_CONFIG ).

return
Map of ServerRefConfig MBean proxies, keyed by name.
see
com.sun.appserv.management.base.Container#getContaineeMap

public voidremoveClusteredServerConfig(java.lang.String name)

since
AppServer 9.0

public voidsetHeartbeatAddress(java.lang.String address)

since
AppServer 9.0

public voidsetHeartbeatEnabled(boolean enabled)

since
AppServer 9.0

public voidsetHeartbeatPort(java.lang.String port)

since
AppServer 9.0