FileDocCategorySizeDatePackage
JACCProviderConfigTest.javaAPI DocGlassfish v2 API4541Fri May 04 22:23:54 BST 2007com.sun.enterprise.management.config

JACCProviderConfigTest

public final class JACCProviderConfigTest extends ConfigMgrTestBase

Fields Summary
static final String
PROVIDER
static final String
PROVIDER_FACTORY
static final Map
RESERVED
Constructors Summary
public JACCProviderConfigTest()


		
	
	
	    if ( checkNotOffline( "ensureDefaultInstance" ) )
	    {
	        ensureDefaultInstance( getConfigConfig().getSecurityServiceConfig() );
	    }
	
Methods Summary
public static com.sun.appserv.management.config.JACCProviderConfigcreateInstance(com.sun.appserv.management.config.SecurityServiceConfig ss, java.lang.String name, java.lang.String policyProvider, java.lang.String policyConfigurationFactoryProvider)

	    return ss.createJACCProviderConfig( name,
	        policyProvider, policyConfigurationFactoryProvider, null );
	
protected final com.sun.appserv.management.config.AMXConfigcreateProgeny(java.lang.String name, java.util.Map options)

		return getConfigConfig().getSecurityServiceConfig().createJACCProviderConfig(name, PROVIDER, PROVIDER_FACTORY, options);
	
public static com.sun.appserv.management.config.JACCProviderConfigensureDefaultInstance(com.sun.appserv.management.config.SecurityServiceConfig ss)

	    JACCProviderConfig result = ss.getJACCProviderConfigMap().get( getDefaultInstanceName() );
	    
	    if ( result == null )
	    {
	        result  = createInstance( ss, getDefaultInstanceName(), PROVIDER, PROVIDER_FACTORY );
	    }
	    
	    return result;
	
public static java.lang.StringgetDefaultInstanceName()

        return getDefaultInstanceName( "JACCProviderConfig" );
    
protected com.sun.appserv.management.base.ContainergetProgenyContainer()

		return getConfigConfig().getSecurityServiceConfig();
	
protected java.lang.StringgetProgenyJ2EEType()

		return XTypes.JACC_PROVIDER_CONFIG;
	
protected voidremoveProgeny(java.lang.String name)

		getConfigConfig().getSecurityServiceConfig().removeJACCProviderConfig( name );