org.objectweb.jonas.management.reconfig.manager
Class ReconfigManager

java.lang.Object
  extended by org.objectweb.jonas.management.reconfig.manager.ReconfigManager
All Implemented Interfaces:
EventListener, NotificationListener, ReconfigManagerMBean

public class ReconfigManager
extends Object
implements ReconfigManagerMBean, NotificationListener

This MBean allows persistent reconfiguration of a JOnAS server, alltogether with its embedded services, and possibly used resources like Data Sources ans Mail Factories. This class implements NotificationListener interface. The ReconfigManager adds itself as Listener to the following JMX Notification types (JAVA types):

Author:
Adriana Danes 04/09/20 Update with JSR77 JDBCDataSource MBeans

Constructor Summary
ReconfigManager(Properties serverProperties, String domainName, MBeanServer jmxServer)
          Create the ReconfigManager MBean instance and add itself as listener to MBeanServerNotifications.
 
Method Summary
 void handleNotification(Notification notification, Object handback)
          Treat the notifications emitted by those MBeans having the ReconfigManager added as listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReconfigManager

public ReconfigManager(Properties serverProperties,
                       String domainName,
                       MBeanServer jmxServer)
                throws ReconfigException
Create the ReconfigManager MBean instance and add itself as listener to MBeanServerNotifications.

Parameters:
serverProperties - The JOnAS server's initial configuration properties
jmxServer - The JOnAS server's MBean server
Throws:
ReconfigException
Method Detail

handleNotification

public void handleNotification(Notification notification,
                               Object handback)
Treat the notifications emitted by those MBeans having the ReconfigManager added as listener. This method determines the type of the notification and calls the specific treatment.

Specified by:
handleNotification in interface NotificationListener
Parameters:
notification - received notification
handback - received hand-back object


Copyright © 2007 OW2 Consortium. All Rights Reserved.