Methods Summary |
---|
public static com.sun.appserv.management.config.JNDIResourceConfig | createInstance(com.sun.appserv.management.config.DomainConfig dc, java.lang.String name, java.lang.String jndiLookupName, java.lang.String resType, java.lang.String factoryClass, java.util.Map optional)
return dc.createJNDIResourceConfig(
name, jndiLookupName, resType, factoryClass , optional );
|
protected final com.sun.appserv.management.config.AMXConfig | createProgeny(java.lang.String name, java.util.Map options)
final JNDIResourceConfig config = getDomainConfig().createJNDIResourceConfig( name,
JNDI_RESOURCE_JNDI_LOOKUP_NAME,
JNDI_RESOURCE_RES_TYPE,
JNDI_RESOURCE_FACTORY_CLASS,
options );
addReference( config );
return( config );
|
public static com.sun.appserv.management.config.JNDIResourceConfig | ensureDefaultInstance(com.sun.appserv.management.config.DomainConfig dc)
JNDIResourceConfig result =
dc.getJNDIResourceConfigMap().get( getDefaultInstanceName() );
if ( result == null )
{
result = createInstance( dc,
getDefaultInstanceName(),
JNDI_RESOURCE_JNDI_LOOKUP_NAME,
JNDI_RESOURCE_RES_TYPE,
JNDI_RESOURCE_FACTORY_CLASS,
OPTIONAL );
}
return result;
|
public static java.lang.String | getDefaultInstanceName()
return getDefaultInstanceName( "JNDIResourceConfig" );
|
protected com.sun.appserv.management.base.Container | getProgenyContainer()
return getDomainConfig();
|
protected java.lang.String | getProgenyJ2EEType()
return XTypes.JNDI_RESOURCE_CONFIG;
|
protected void | removeProgeny(java.lang.String name)
final JNDIResourceConfig item =
getDomainConfig().getJNDIResourceConfigMap().get( name );
getDomainConfig().removeJNDIResourceConfig( name );
|