Methods Summary |
---|
public static com.sun.appserv.management.config.ConnectorConnectionPoolConfig | createInstance(com.sun.appserv.management.config.DomainConfig dc, java.lang.String name, java.lang.String resourceAdapterName, java.lang.String connectorDefinitionName, java.util.Map optional)
return dc.createConnectorConnectionPoolConfig( name,
connectorDefinitionName, resourceAdapterName, optional );
|
protected final com.sun.appserv.management.config.AMXConfig | createProgeny(java.lang.String name, java.util.Map options)
final Map<String,String> allOptions = MapUtil.newMap( OPTIONS, options );
final ConnectorConnectionPoolConfig config =
getDomainConfig().createConnectorConnectionPoolConfig(
name,
RESOURCE_ADAPTOR_NAME,
CONNECTOR_DEF_NAME, allOptions);
return( config );
|
public static com.sun.appserv.management.config.ConnectorConnectionPoolConfig | ensureDefaultInstance(com.sun.appserv.management.config.DomainConfig dc)
ConnectorConnectionPoolConfig result =
dc.getConnectorConnectionPoolConfigMap().get( getDefaultInstanceName() );
if ( result == null )
{
result = createInstance( dc, getDefaultInstanceName(),
ResourceAdapterConfigTest.ensureDefaultInstance( dc ).getName(),
CONNECTOR_DEF_NAME, OPTIONS);
}
return result;
|
public static java.lang.String | getDefaultInstanceName()
return getDefaultInstanceName( "ConnectorConnectionPoolConfig" );
|
protected com.sun.appserv.management.base.Container | getProgenyContainer()
return getDomainConfig();
|
protected java.lang.String | getProgenyJ2EEType()
return XTypes.CONNECTOR_CONNECTION_POOL_CONFIG;
|
protected void | removeProgeny(java.lang.String name)
getDomainConfig().removeConnectorConnectionPoolConfig( name );
|