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

AuditModuleConfigTest

public final class AuditModuleConfigTest extends ConfigMgrTestBase

Fields Summary
static final String
CLASSNAME
Constructors Summary
public AuditModuleConfigTest()

	
		
	
	
	    if ( checkNotOffline( "ensureDefaultInstance" ) )
	    {
	        ensureDefaultInstance( getConfigConfig().getSecurityServiceConfig() );
	    }
	
Methods Summary
public static com.sun.appserv.management.config.AuditModuleConfigcreateInstance(com.sun.appserv.management.config.SecurityServiceConfig securityServiceConfig, java.lang.String name, java.lang.String classname, boolean enabled, java.util.Map optional)

	    return  securityServiceConfig.createAuditModuleConfig(
	            name, CLASSNAME, enabled, null );
	
protected final com.sun.appserv.management.config.AMXConfigcreateProgeny(java.lang.String name, java.util.Map options)

	    return getConfigConfig().getSecurityServiceConfig().createAuditModuleConfig(name, CLASSNAME, false, options);
	
public static com.sun.appserv.management.config.AuditModuleConfigensureDefaultInstance(com.sun.appserv.management.config.SecurityServiceConfig securityServiceConfig)

	    AuditModuleConfig   result  =
	        securityServiceConfig.getAuditModuleConfigMap().get( getDefaultInstanceName() );
	    
	    if ( result == null )
	    {
	        result  = createInstance( securityServiceConfig,
	            getDefaultInstanceName(), CLASSNAME, false, null );
	    }
	    
	    return result;
	
public static java.lang.StringgetDefaultInstanceName()

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

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

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

		getConfigConfig().getSecurityServiceConfig().removeAuditModuleConfig( name );