| java.lang.Object org.objectweb.jonas.management.ReconfigManager
ReconfigManager | public class ReconfigManager implements ReconfigManagerMBean,NotificationListener(Code) | | 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):
- MBeanServerNotification
, sent by the MBean server on MBeans registration/un-registration
- Notification with type equal to ReconfigDispatcher.RECONFIG_TYPE
- Notification with type equal to ReconfigDispatcher.SAVE_RECONFIG_TYPE
author: Adriana Danes author: 04/09/20 Update with JSR77 JDBCDataSource MBeans |
Constructor Summary | |
public | ReconfigManager(Properties serverProperties, MBeanServer jmxServer) Create the ReconfigManager MBean instance and add itself as listner to MBeanServerNotifications. |
jmxServer | MBeanServer jmxServer(Code) | | The MBean server attached to the current JOnAS server
|
ReconfigManager | public ReconfigManager(Properties serverProperties, MBeanServer jmxServer) throws ReconfigException(Code) | | Create the ReconfigManager MBean instance and add itself as listner to MBeanServerNotifications.
Parameters: serverProperties - The JOnAS server's initial configuration properties Parameters: jmxServer - The JOnAS server's MBean server |
handleNotification | public void handleNotification(Notification notification, java.lang.Object handback)(Code) | | 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 treatement.
Parameters: notification - received notification Parameters: handback - received handback object |
|
|