Methods Summary |
---|
public static com.sun.appserv.management.config.CustomResourceConfig | createInstance(com.sun.appserv.management.config.DomainConfig domainConfig, java.lang.String name, java.lang.String resType, java.lang.String factoryClass, java.util.Map optional)
final CustomResourceConfig config =
domainConfig.createCustomResourceConfig( name, resType, factoryClass, optional );
return config;
|
protected final com.sun.appserv.management.config.AMXConfig | createProgeny(java.lang.String name, java.util.Map options)
final CustomResourceConfig config =
createInstance( getDomainConfig(), name, RES_TYPE, FACTORY_CLASS, options );
addReference( config );
return config;
|
public static com.sun.appserv.management.config.CustomResourceConfig | ensureDefaultInstance(com.sun.appserv.management.config.DomainConfig domainConfig)
CustomResourceConfig result =
domainConfig.getCustomResourceConfigMap().get( getDefaultInstanceName() );
if ( result == null )
{
result = createInstance( domainConfig,
getDefaultInstanceName(), RES_TYPE, FACTORY_CLASS, null );
}
return result;
|
public static java.lang.String | getDefaultInstanceName()
return getDefaultInstanceName( "CustomResourceConfig" );
|
protected com.sun.appserv.management.base.Container | getProgenyContainer()
return getDomainConfig();
|
protected java.lang.String | getProgenyJ2EEType()
return XTypes.CUSTOM_RESOURCE_CONFIG;
|
protected java.lang.String | getProgenyTestName()
return( "CustomResourceConfigTest" );
|
protected void | removeProgeny(java.lang.String name)
getDomainConfig().removeCustomResourceConfig( name );
|