private MBeanInfo getInfo ( Object object , ClassIntrospector classIntrospector ) throws IntrospectionException { JmxBean jmxBean = AnnotationUtils . getAnnotation ( object . getClass ( ) , JmxBean . class ) ; MBeanInfo beanInfo = new MBeanInfo ( object . getClass ( ) . getName ( ) , jmxBean . description ( ) , getAttributes ( classIntrospector ) , getConstructors ( classIntrospector ) , getOperations ( classIntrospector ) , getNotifications ( object ) ) ; return beanInfo ; }
Create and return a MBeanInfo instance for the supplied object .