public MBeanInfo createMBeanInfo ( ) { if ( type != null ) { return new MBeanInfo ( type . getName ( ) , description , getAttributeInfo ( ) , getConstructorInfo ( ) , getOperationInfo ( ) , getNotificationInfo ( ) ) ; } else { return new MBeanInfo ( name , description , getAttributeInfo ( ) , getConstructorInfo ( ) , getOperationInfo ( ) , getNotificationInfo ( ) ) ; } }
Create managed bean info with all constructors operations notifications and attributes .