Monitoring management events

All JMX events, that is, all changes to the code or business policy, are tracked so that you can respond to lifecycle events for managed resources. You can register objects as listeners for notification messages of events on RuleApp or ruleset events.

Events that result from entity registration or unregistration (rulesets or RuleApps) are processed by the Java Management Extensions (JMX) framework. When an MBean is registered or unregistered in the MBean server an MBeanServerNotification message is emitted. To register an object as a listener for these MBeanServerNotification messages, you call the MBean server method addNotificationListener with JMImplementation:type=MBeanServerDelegate as the ObjectName.

You can also receive events from RuleApp and ruleset MBeans when the state of the MBean changes. To register an object as a listener for RuleApp or ruleset MBean notifications, call the MBean server method addNotificationListener with the RuleApp or ruleset MBean object name as a parameter.

The following MBean manipulations create an event:
  • RuleApp MBean
    • A property change. The event contains the key and the new value of the property.
  • Ruleset MBean
    • A property change. The event contains the key and the new value of the property.
    • A ruleset archive change. The new ruleset archive is not saved in the event.