private static void printMBeanInfo(MBeanServer mbs,
			ObjectName mbeanObjectName,String mbeanClassName){
		echo("\n>>>Retrieve the managent information for the" +
			mbeanClassName);
		echo("\tMBean using the getMBeanInfo() method of the MBeanServer");
		MBeanInfo info = null;
		try{
			info = mbs.getMBeanInfo(mbeanObjectName);
		}catch(Exception e){
			echo("\t!!!Could not get MBeanInfo object for " +
					mbeanClassName + " !!!");
			e.printStackTrace();
			return;
		}
		echo("\nClassName:" + info.getClassName());
		echo("\nDescription: " + info.getDescription());
		echo("\nAttribute");
		MBeanAttributeInfo[] attrInfo = info.getAttributes();
		if(attrInfo.length > 0){
			for(int i = 0; i < attrInfo.length; i++){
				echo("Name:" + attrInfo[i].getName());
				echo("Desr:" + attrInfo[i].getDescription());
				echo("Type:" + attrInfo[i].getType() +
						"\tRead:" + attrInfo[i].isReadable() +
						"\tWrite:" + attrInfo[i].isWritable());
			}
		}else{
			echo("No attributes");
		}
		echo("\nConstructions");
		MBeanConstructorInfo[] constrInfo = info.getConstructors();
		for(int i = 0;i < constrInfo.length; i++){
			echo("Name:" + constrInfo[i].getName());
			echo("Desr:" + constrInfo[i].getDescription());
			echo("Param:" + constrInfo[i].getSignature().length +
					" parameter(s)");
			
		}
		echo("Operations");
		MBeanOperationInfo[] opInfo = info.getOperations();
		if(opInfo.length > 0){
			for(int i = 0; i < opInfo.length; i++){
				echo("Name:" + opInfo[i].getName());
				echo("Desc:" + opInfo[i].getDescription());
				echo("Param:" + opInfo[i].getSignature().length +
						" parameter(s)");
			}
		}else{
			echo("no operations");
		}
		echo("Notifications");
		MBeanNotificationInfo[] notiInfo = info.getNotifications();
		if(notiInfo.length > 0){
			for(int i = 0; i < notiInfo.length; i++){
				echo("Name:" + notiInfo[i].getName());
				echo("Desc:" + notiInfo[i].getDescription());
				String notiTypes[] = notiInfo[i].getNotifTypes();
				for(int j = 0; j < notiTypes.length; j++){
					echo("Type:" + notiTypes[j]);
				}
			}
		}else{
			echo("No notifications");
		}
	}