Java EE 5 SDK

com.sun.appserv.management.config
Interface ClusterRefConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, Container, Enabled, HealthCheckerConfigCR, NotificationBroadcaster, NotificationEmitter, RefConfig

public interface ClusterRefConfig
extends RefConfig, HealthCheckerConfigCR, Container

represents the <server-ref> 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.base.Container
ATTR_CONTAINEE_J2EE_TYPES
 
Method Summary
 String getLBPolicy()
          EE only Load balancing policy to be used for this cluster.
 String getLBPolicyModule()
          EE only Returns the absolute path to the shared library implementing the LbPolicyTypeValues.USER_DEFINED policy.
 String getReferencedClusterName()
           
 void setLBPolicy(String value)
          EE only Set the load balancing policy to be used for this cluster.
 void setLBPolicyModule(String lbPolicyModule)
          EE only Sets the absolute path to the shared library implementing the LbPolicyTypeValues.USER_DEFINED policy.
 void setReferencedClusterName(String clusterName)
           
 
Methods inherited from interface com.sun.appserv.management.config.RefConfig
getRef, setRef
 
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.Enabled
getEnabled, setEnabled
 
Methods inherited from interface com.sun.appserv.management.config.HealthCheckerConfigCR
createHealthCheckerConfig, getHealthCheckerConfig, removeHealthCheckerConfig
 
Methods inherited from interface com.sun.appserv.management.base.Container
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap
 

Field Detail

J2EE_TYPE

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

See Also:
Constant Field Values
Method Detail

getReferencedClusterName

String getReferencedClusterName()
Since:
Appserver 9.0

setReferencedClusterName

void setReferencedClusterName(String clusterName)
Since:
Appserver 9.0

getLBPolicy

String getLBPolicy()
EE only Load balancing policy to be used for this cluster. Possible values are round-robin , weighted-round-robin or user-defined. round-robin is the default. For weighted-round-robin, the weights of the instance are considered while load balancing. For user-defined, the policy is implemented by a shared library which is loaded by the load balancer and the instance selected is delegated to the loaded module. Return load balancing policy to be used for this cluster. Possible values are: See LbPolicyTypeValues.


setLBPolicy

void setLBPolicy(String value)
EE only Set the load balancing policy to be used for this cluster. See LbPolicyTypeValues.


getLBPolicyModule

String getLBPolicyModule()
EE only Returns the absolute path to the shared library implementing the LbPolicyTypeValues.USER_DEFINED policy.


setLBPolicyModule

void setLBPolicyModule(String lbPolicyModule)
EE only Sets the absolute path to the shared library implementing the LbPolicyTypeValues.USER_DEFINED policy.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.