1 25 26 package org.objectweb.jonas.dbm; 27 28 import javax.management.MBeanException ; 29 import javax.management.NotificationFilter ; 30 import javax.management.NotificationListener ; 31 32 import org.apache.commons.modeler.BaseModelMBean; 33 34 40 public class JDBCDataSourceMBean extends BaseModelMBean { 41 45 public JDBCDataSourceMBean() throws MBeanException { 46 super(); 47 } 48 49 56 public void addNotificationListener(NotificationListener pListner, NotificationFilter pFilter, 57 java.lang.Object pHandback) throws java.lang.IllegalArgumentException { 58 ((JDBCDataSource) (this.resource)).addNotificationListener(pListner, pFilter, pHandback); 59 } 60 } | Popular Tags |