FileDocCategorySizeDatePackage
HTTPAccessLogConfigFactory.javaAPI DocGlassfish v2 API4057Fri May 04 22:23:18 BST 2007com.sun.enterprise.management.config

HTTPAccessLogConfigFactory

public final class HTTPAccessLogConfigFactory extends ConfigFactory
Configuration for the <virtual-server> element.

Fields Summary
private final com.sun.enterprise.management.support.oldconfig.OldVirtualServerMBean
mOldVirtualServerMBean
public static final String
LOG_DIRECTORY_KEY
Key used in createHTTPAccessLog()
public static final String
IP_ONLY_KEY
Key used in createHTTPAccessLog()
private static final Map
PARAM_NAME_OVERRIDES
Constructors Summary
public HTTPAccessLogConfigFactory(ConfigFactoryCallback callbacks)

		super( callbacks );
		
		mOldVirtualServerMBean	=
		    getOldConfigProxies().getOldVirtualServerMBean(
		        getConfigName(), getContainerName() );
	
Methods Summary
public javax.management.ObjectNamecreate(boolean ipOnly, java.lang.String logDirectory, java.util.Map reserved)

        final String[] requiredParams = new String[]
		{
			IP_ONLY_KEY,	"" + ipOnly,
			LOG_DIRECTORY_KEY,	logDirectory,
		};
		
		final Map<String,String>	params	= initParams( requiredParams, reserved );

		final ObjectName	amxName	= createChild( params );
		
		return( amxName );
	
protected javax.management.ObjectNamecreateOldChildConfig(javax.management.AttributeList attrs)

		return( mOldVirtualServerMBean.createHttpAccessLog( attrs ) );
	
protected java.util.MapgetParamNameOverrides()

		
		 
	
	
		return( PARAM_NAME_OVERRIDES );
	
protected voidinternalRemove(javax.management.ObjectName objectName)

		mOldVirtualServerMBean.removeHttpAccessLog();