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

ModuleMonitoringLevelsConfigImpl

public final class ModuleMonitoringLevelsConfigImpl extends com.sun.enterprise.management.config.AMXConfigImplBase

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

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

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

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