private static void printSimpleAttributes(MBeanServer mbs,
			ObjectName mbeanObjectName){
		try{
			echo("\nGetting attribute values:");
			String state = (String)mbs.getAttribute(mbeanObjectName, "State");
			Integer nbChanges = (Integer)mbs.getAttribute(mbeanObjectName,
					"NbChanges");
			echo("\tState = \"" + state + "\"");
			echo("\tNbChanges = \"" + nbChanges);
		}catch(Exception e){
			echo("\t!!! could not read attributes !!!");
			e.printStackTrace();
		}
	}