摘要 |
A method and a corresponding system for managing non-MBeans (250) in the JMX architecture (215) are proposed. In the method of the invention, each non-MBean is supplied to a converter (255) that generates program code for defining a standard MBean (260m) implementing an interface (260i) named after itself. The interface exposes getter/setter methods, which are designed to return/assign corresponding public fields of the non-MBean. Moreover, the interface exposes methods for managing notifications (wrapping corresponding public methods of the non-MBean). Remaining public methods of the non-MBean are associated with corresponding operations of the MBean; support is also provided for relationships between non-MBeans. In this way, the MBean wraps the non-MBean making possible its management in the JMX architecture.
|