public Collection < String > listAttributeNames ( ) { List < String > list = new ArrayList < String > ( ) ; try { MBeanAttributeInfo [ ] attrs = beanInfo . getAttributes ( ) ; for ( MBeanAttributeInfo attr : attrs ) { list . add ( attr . getName ( ) ) ; } } catch ( Exception e ) { throwException ( "Could not list attribute names. Reason: " , e ) ; } return list ; }
List of the names of each of the attributes on the MBean