org.ow2.jonas.dbm.internal.mbean
Class JDBCDataSourceMBean
java.lang.Object
org.apache.commons.modeler.BaseModelMBean
org.ow2.jonas.dbm.internal.mbean.JDBCDataSourceMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, PersistentMBean
public class JDBCDataSourceMBean
- extends BaseModelMBean
Allow creation of a model MBean instance to registered in the MBean server.
This class is necessary to support persistent reconfiguration
based on JMX notifications.
- Author:
- Adriana Danes
Methods inherited from class org.apache.commons.modeler.BaseModelMBean |
addAttributeChangeNotificationListener, createDefaultModelMBeanInfo, createResource, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, invoke, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString |
JDBCDataSourceMBean
public JDBCDataSourceMBean()
throws MBeanException
- Default constructor
- Throws:
MBeanException
- if super constructor fails
addNotificationListener
public void addNotificationListener(NotificationListener pListner,
NotificationFilter pFilter,
Object pHandback)
throws IllegalArgumentException
- Delegates the notification support to the wrapped resource.
- Specified by:
addNotificationListener
in interface NotificationBroadcaster
- Overrides:
addNotificationListener
in class BaseModelMBean
- Parameters:
pListner
- Listener to notifypFilter
- Notification filterpHandback
- ??
- Throws:
IllegalArgumentException
- if notification is not done
Copyright © 2012 OW2 Consortium. All Rights Reserved.