private static void manageSimpleMBean(MBeanServer mbs,
			ObjectName mbeanObjectName, String mbeanClassName){
		echo(">>>Manage the" + mbeanClassName + 
				" MBean using its attributes ");
		echo(" and operations exposed for management ");
		try{
			printSimpleAttributes(mbs, mbeanObjectName);
			echo("Setting State attribute to value \"new state\"...");
			Attribute stateAttribute = new Attribute("State","new state");
			mbs.setAttribute(mbeanObjectName, stateAttribute);
			printSimpleAttributes(mbs, mbeanObjectName);
			echo("Invoking reset operation...");
			mbs.invoke(mbeanObjectName, "reset", null, null);
			printSimpleAttributes(mbs, mbeanObjectName);
		}catch(Exception e){
			e.printStackTrace();
		}
	}