Methods Summary |
---|
public javax.management.ObjectName | create(java.lang.String referencedClusterName, java.util.Map optional)
final String[] requiredParams = new String[] {};
final Map<String,String> params = initParams(referencedClusterName, requiredParams, optional);
final ObjectName amxName = createNamedChild(referencedClusterName, params);
return(amxName);
|
public javax.management.ObjectName | create(java.lang.String referencedClusterName, java.lang.String lbPolicy, java.lang.String lbPolicyModule)
final Map<String,String> optionalParams = new java.util.HashMap<String,String>();
if (lbPolicy != null)
optionalParams.put(ClusterRefConfigCR.LB_POLICY_KEY,lbPolicy);
if (lbPolicyModule != null)
optionalParams.put(ClusterRefConfigCR.LB_POLICY_MODULE_KEY, lbPolicyModule);
return create(referencedClusterName, optionalParams);
|
protected javax.management.ObjectName | createOldChildConfig(javax.management.AttributeList translatedAttrs)
return mOldLbConfigMBean.createClusterRef(translatedAttrs);
|
protected java.util.Set | getLegalOptionalCreateKeys()
return(LEGAL_OPTIONAL_KEYS);
|
protected java.util.Map | getParamNameOverrides()
return(MapUtil.newMap(CONFIG_NAME_KEY, "ref"));
|
public void | removeByName(java.lang.String referencedClusterName)
mOldLbConfigMBean.removeClusterRefByRef(referencedClusterName);
|