@SuppressWarnings( "unchecked" )
private void displayAttributes()
throws IOException, JMException
{
Session session = getSession();
String beanName = BeanCommand.getBeanName( bean, domain, session );
ObjectName name = new ObjectName( beanName );
session.output.printMessage( "mbean = " + beanName + ":" );
MBeanServerConnection con = session.getConnection().getServerConnection();
MBeanAttributeInfo[] ais = con.getMBeanInfo( name ).getAttributes();
Map<String, MBeanAttributeInfo> attributeNames =
ListOrderedMap.decorate( new HashMap<String, MBeanAttributeInfo>() );
if ( attributes.contains( "*" ) )
{