|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.modeler.BaseModelMBean org.ow2.jonas.dbm.internal.mbean.JDBCDataSourceMBean
public class JDBCDataSourceMBean
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.
Field Summary |
---|
Fields inherited from class org.apache.commons.modeler.BaseModelMBean |
---|
attributeBroadcaster, attributes, generalBroadcaster, info, oname, registry, resource, resourceType, source |
Constructor Summary | |
---|---|
JDBCDataSourceMBean()
Default constructor |
Method Summary | |
---|---|
void |
addNotificationListener(NotificationListener pListner,
NotificationFilter pFilter,
Object pHandback)
Delegates the notification support to the wrapped resource. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JDBCDataSourceMBean() throws MBeanException
MBeanException
- if super constructor failsMethod Detail |
---|
public void addNotificationListener(NotificationListener pListner, NotificationFilter pFilter, Object pHandback) throws IllegalArgumentException
addNotificationListener
in interface NotificationBroadcaster
addNotificationListener
in class org.apache.commons.modeler.BaseModelMBean
pListner
- Listener to notifypFilter
- Notification filterpHandback
- ??
IllegalArgumentException
- if notification is not done
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |