FileDocCategorySizeDatePackage
LBConfigImpl.javaAPI DocGlassfish v2 API4347Fri May 04 22:23:20 BST 2007com.sun.enterprise.management.config

LBConfigImpl

public final class LBConfigImpl extends com.sun.enterprise.management.config.AMXConfigImplBase implements ConfigFactoryCallback
Configuration for the <lb-config> element.

Fields Summary
Constructors Summary
public LBConfigImpl(com.sun.enterprise.management.support.Delegate delegate)

        super(delegate);
    
Methods Summary
public javax.management.ObjectNamecreateClusterRefConfig(java.lang.String referencedClusterName, java.lang.String lbPolicy, java.lang.String lbPolicyModule)


        return getClusterRefConfigFactory().create(referencedClusterName, 
        lbPolicy, lbPolicyModule);
    
public javax.management.ObjectNamecreateServerRefConfig(java.lang.String referencedServerName, java.util.Map optional)


        return getServerRefConfigFactory().create(referencedServerName, optional);
    
public javax.management.ObjectNamecreateServerRefConfig(java.lang.String referencedServerName, java.lang.String disableTimeoutInMinutes, boolean lbEnabled, boolean enabled)


        return getServerRefConfigFactory().create(referencedServerName, 
        disableTimeoutInMinutes, lbEnabled, enabled);
    
private ClusterRefConfigFactorygetClusterRefConfigFactory()

        return new ClusterRefConfigFactory(this);
    
public java.util.MapgetClusterRefConfigObjectNameMap()

        return(getContaineeObjectNameMap(XTypes.CLUSTER_REF_CONFIG));
    
private ServerRefConfigFactorygetServerRefConfigFactory()

        return new ServerRefConfigFactory(this);
    
public java.util.MapgetServerRefConfigObjectNameMap()

        return(getContaineeObjectNameMap(XTypes.SERVER_REF_CONFIG));
    
public voidremoveClusterRefConfig(java.lang.String name)

        final Map<String,ObjectName> items = getClusterRefConfigObjectNameMap();
        getClusterRefConfigFactory().remove(Util.getObjectName(items, name));
    
public voidremoveServerRefConfig(java.lang.String name)

        final Map<String,ObjectName> items = getServerRefConfigObjectNameMap();
        getServerRefConfigFactory().remove(Util.getObjectName(items, name));