Java EE 5 SDK

com.sun.appserv.management.config
Interface ClusterRefConfigCR

All Superinterfaces:
ConfigRemover
All Known Subinterfaces:
LBConfig

public interface ClusterRefConfigCR
extends ConfigRemover

Supports creation and removal of server references.


Field Summary
static String LB_POLICY_KEY
           
static String LB_POLICY_MODULE_KEY
           
 
Method Summary
 ClusterRefConfig createClusterRefConfig(String clusterName, Map<String,String> reserved)
          Creates a new cluster-ref for an lb-config.
 ClusterRefConfig createClusterRefConfig(String referencedClusterName, String lbPolicy, String lbPolicyModule)
          Creates a new cluster-ref.
 void removeClusterRefConfig(String clusterName)
          Removes a cluster-ref for an lb-config.
 
Methods inherited from interface com.sun.appserv.management.config.ConfigRemover
removeConfig
 

Field Detail

LB_POLICY_KEY

static final String LB_POLICY_KEY
See Also:
Constant Field Values

LB_POLICY_MODULE_KEY

static final String LB_POLICY_MODULE_KEY
See Also:
Constant Field Values
Method Detail

createClusterRefConfig

ClusterRefConfig createClusterRefConfig(String clusterName,
                                        Map<String,String> reserved)
Creates a new cluster-ref for an lb-config.

Parameters:
clusterName - A reference to the name of a cluster.
reserved - reserved for future use
Returns:
A proxy to the ClusterRefConfig MBean.

createClusterRefConfig

ClusterRefConfig createClusterRefConfig(String referencedClusterName,
                                        String lbPolicy,
                                        String lbPolicyModule)
Creates a new cluster-ref.

Parameters:
referencedClusterName - name of the cluster.
lbPolicy - load balancing policy for this cluster
lbPolicyModule - absolute path to the shared library implementing the user-defined policy.
Returns:
A proxy to the ClusterRefConfig MBean.

removeClusterRefConfig

void removeClusterRefConfig(String clusterName)
Removes a cluster-ref for an lb-config.

Parameters:
clusterName - A reference to the name of a cluster.

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.