FileDocCategorySizeDatePackage
JMXConnectorConfigFactory.javaAPI DocGlassfish v2 API4476Fri May 04 22:23:18 BST 2007com.sun.enterprise.management.config

JMXConnectorConfigFactory

public final class JMXConnectorConfigFactory extends ConfigFactory

Fields Summary
private final com.sun.enterprise.management.support.oldconfig.OldAdminServiceMBean
mOldAdminServiceMBean
private final Set
LEGAL_OPTIONAL_KEYS
private static final String
ADDRESS_KEY
private static final String
PORT_KEY
private static final String
AUTH_REALM_NAME_KEY
Constructors Summary
public JMXConnectorConfigFactory(ConfigFactoryCallback callbacks)

		super( callbacks );
		
		mOldAdminServiceMBean	= getOldAdminServiceMBean();
	
Methods Summary
public javax.management.ObjectNamecreate(java.lang.String name, java.lang.String address, java.lang.String port, java.lang.String authRealmName, java.util.Map optional)

	
	
	
		 	
	       
		    
	
		final String[] requiredParams = 
		{
			ADDRESS_KEY,				address,
			PORT_KEY,					port,
			AUTH_REALM_NAME_KEY,		authRealmName,
		};
		final Map<String,String> params = initParams( name, requiredParams, optional );
		final ObjectName amxObjectName = createNamedChild( name, params );
		return amxObjectName;
	
protected javax.management.ObjectNamecreateOldChildConfig(javax.management.AttributeList translatedAttrs)

		return mOldAdminServiceMBean.createJmxConnector( translatedAttrs );
	
protected java.util.SetgetLegalOptionalCreateKeys()

    	 
	
	
		return( LEGAL_OPTIONAL_KEYS );
	
private final com.sun.enterprise.management.support.oldconfig.OldAdminServiceMBeangetOldAdminServiceMBean()

		return( getOldConfigProxies().getOldAdminServiceMBean( getConfigName() ) );
	
protected voidremoveByName(java.lang.String name)

		mOldAdminServiceMBean.removeJmxConnectorByName( name );