Methods Summary |
---|
public static com.sun.appserv.management.config.JDBCConnectionPoolConfig | createInstance(com.sun.appserv.management.config.DomainConfig domainConfig, java.lang.String name, java.lang.String datasourceClassname, java.util.Map optional)
return domainConfig.createJDBCConnectionPoolConfig(
name, datasourceClassname, optional );
|
protected final com.sun.appserv.management.config.AMXConfig | createProgeny(java.lang.String name, java.util.Map options)
final JDBCConnectionPoolConfig config =
getDomainConfig().createJDBCConnectionPoolConfig( name,
JDBC_DATASOURCE_CLASSNAME,
options );
assert( config != null );
return( config );
|
public static com.sun.appserv.management.config.JDBCConnectionPoolConfig | ensureDefaultInstance(com.sun.appserv.management.config.DomainConfig domainConfig)
JDBCConnectionPoolConfig result =
domainConfig.getJDBCConnectionPoolConfigMap().get(
getDefaultInstanceName() );
if ( result == null )
{
result = createInstance( domainConfig,
getDefaultInstanceName(), JDBC_DATASOURCE_CLASSNAME, null );
}
return result;
|
public static java.lang.String | getDefaultInstanceName()
return getDefaultInstanceName( "JDBCConnectionPoolConfig" );
|
protected com.sun.appserv.management.base.Container | getProgenyContainer()
return getDomainConfig();
|
protected java.lang.String | getProgenyJ2EEType()
return XTypes.JDBC_CONNECTION_POOL_CONFIG;
|
protected void | removeProgeny(java.lang.String name)
getDomainConfig().removeJDBCConnectionPoolConfig( name );
|