FileDocCategorySizeDatePackage
ModuleLogLevelsConfigImpl.javaAPI DocGlassfish v2 API3688Fri May 04 22:23:20 BST 2007com.sun.enterprise.management.config

ModuleLogLevelsConfigImpl

public final class ModuleLogLevelsConfigImpl extends com.sun.enterprise.management.config.AMXConfigImplBase
Configuration for the <module-log-levels> element.

Fields Summary
private static final String[]
MODULES
Constructors Summary
public ModuleLogLevelsConfigImpl(com.sun.enterprise.management.support.Delegate delegate)

		super( delegate );
	
Methods Summary
public voidchangeAll(java.lang.String level)

		final AttributeList	allAttrs	= new AttributeList();
		
		for( int i = 0; i < MODULES.length; ++i )
		{
			allAttrs.add( new Attribute( MODULES[ i ], level ) );
		}
		
		setAttributes( allAttrs );
	
public java.util.MapgetAllLevels()

	
		 
	
	
		final AttributeList	attrs	= getAttributes( MODULES );
		
		assert ( attrs.size() == MODULES.length ) :
			"Missing some log levels, have: " + toString( attrs );
		
		return( JMXUtil.attributeListToValueMap( attrs ) );