FileDocCategorySizeDatePackage
ConnectorConnectionPoolConfigFactory.javaAPI DocGlassfish v2 API6075Thu May 31 10:22:56 BST 2007com.sun.enterprise.management.config

ConnectorConnectionPoolConfigFactory

public final class ConnectorConnectionPoolConfigFactory extends ResourceFactoryImplBase
MBean managing all instances of Connector resource.

Fields Summary
public static final String
CONNECTION_DEFINITION_NAME_KEY
public static final String
RESOURCE_ADAPTER_NAME_KEY
private final Set
LEGAL_OPTIONAL_KEYS
private static final Set
IMPLICIT_RESOURCE_ADAPTERS
Constructors Summary
public ConnectorConnectionPoolConfigFactory(ConfigFactoryCallback callbacks)

		super( callbacks );
	
Methods Summary
private voidcheckResourceAdapterExists(java.lang.String resourceAdapterName)

         
      	 
    
    /*
        I can't get solid information on what the requirements are for
        pre-existing items.  Removing this check.  Lloyd Chambers 5/31/07
        
        final DomainConfig domainConfig = getDomainRoot().getDomainConfig();

        final Map<String,ConnectorModuleConfig>	connectorModules	=
            getDomainRoot().getDomainConfig().getConnectorModuleConfigMap();
        if ( ! connectorModules.containsKey(resourceAdapterName) )
        {
            throw new IllegalArgumentException(
                "No ResourceAdapterConfig or " +
                "ConnectorModuleConfig exists with the name: " +
                resourceAdapterName );
        }
        */
    
public javax.management.ObjectNamecreate(java.lang.String name, java.lang.String resourceAdapterName, java.lang.String connectionDefinitionName, java.util.Map options)

        final String[] requiredParams = new String[]
		{
			RESOURCE_ADAPTER_NAME_KEY,		resourceAdapterName,
			CONNECTION_DEFINITION_NAME_KEY,	connectionDefinitionName,
		};
		
		if ( requireValidReferences( options )  )
		{
			checkResourceAdapterExists( resourceAdapterName );
		}
		
		final Map<String,String> params	= initParams( name, requiredParams, options );
		
		final ObjectName	amxName	= createNamedChild( name, params );
		
		return( amxName );
	
protected javax.management.ObjectNamecreateOldChildConfig(javax.management.AttributeList translatedAttrs)
The caller is responsible for dealing with any Properties.

		return( getOldResourcesMBean().createConnectorConnectionPool( translatedAttrs ) );
	
protected java.util.SetgetLegalOptionalCreateKeys()

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

		getOldResourcesMBean().removeConnectorConnectionPoolByName( name );