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

LoadBalancerConfigFactory

public final class LoadBalancerConfigFactory extends ConfigFactory

Fields Summary
private final Set
LEGAL_OPTIONAL_KEYS
Constructors Summary
public LoadBalancerConfigFactory(ConfigFactoryCallback callbacks)

        super(callbacks);
    
Methods Summary
public javax.management.ObjectNamecreate(java.lang.String name, java.lang.String lbConfigName, boolean autoApplyEnabled, java.util.Map optional)

        final String[] required =
            new String[] {"lb-config-name", lbConfigName, "auto-apply-enabled", "" + autoApplyEnabled };
        final Map<String,String> params = initParams(name, required, optional);
        final ObjectName amxName = createNamedChild(name, params);
        return amxName;
    
protected javax.management.ObjectNamecreateOldChildConfig(javax.management.AttributeList translatedAttrs)

        return getOldConfigProxies().getOldLoadBalancers().createLoadBalancer(translatedAttrs);
    
protected java.util.SetgetLegalOptionalCreateKeys()


        
        return LEGAL_OPTIONAL_KEYS;
    
public voidremoveByName(java.lang.String name)

        getOldConfigProxies().getOldLoadBalancers().removeLoadBalancerByName(name);