FileDocCategorySizeDatePackage
AuditModuleConfigFactory.javaAPI DocGlassfish v2 API3971Fri May 04 22:23:16 BST 2007com.sun.enterprise.management.config

AuditModuleConfigFactory

public final class AuditModuleConfigFactory extends ConfigFactory

Fields Summary
private static final String
AUDIT_ON_PROPERTY_KEY
private static final String
CLASSNAME_KEY
private final com.sun.enterprise.management.support.oldconfig.OldSecurityServiceMBean
mOldSecurityServiceMBean
Constructors Summary
public AuditModuleConfigFactory(ConfigFactoryCallback callbacks)

	

		
	    
	
		super( callbacks );
		
		mOldSecurityServiceMBean =
		    getOldConfigProxies().getOldSecurityServiceMBean( getConfigName() );
	
Methods Summary
public javax.management.ObjectNamecreate(java.lang.String name, java.lang.String className, boolean auditOn, java.util.Map reservedForFutureUse)

		final String[] requiredParams = {	
			CLASSNAME_KEY,			className,	
			AUDIT_ON_PROPERTY_KEY,	Boolean.toString(auditOn),
		};

		final Map<String,String> params = initParams( name, requiredParams, reservedForFutureUse );

		final ObjectName amxName = createNamedChild( name, params );

		return amxName;
	
protected javax.management.ObjectNamecreateOldChildConfig(javax.management.AttributeList translatedAttrs)

		return mOldSecurityServiceMBean.createAuditModule( translatedAttrs );
	
protected voidinternalRemove(javax.management.ObjectName objectName)

		final String	name	= Util.getName( objectName );
		
		mOldSecurityServiceMBean.removeAuditModuleByName(name);