1 17 package org.objectweb.jonas.jtm; 18 19 import javax.management.MBeanException ; 20 import javax.management.Notification ; 21 import javax.management.NotificationFilter ; 22 import javax.management.NotificationListener ; 23 24 import org.apache.commons.modeler.BaseModelMBean; 25 26 30 31 public class JTAResourceMBean extends BaseModelMBean { 32 33 35 public JTAResourceMBean() throws MBeanException { 36 super(); 37 } 38 39 41 48 public void addNotificationListener(NotificationListener pListener, NotificationFilter pFilter, 49 java.lang.Object pHandback) throws java.lang.IllegalArgumentException { 50 ((JTAResource) (this.resource)).addNotificationListener(pListener, pFilter, pHandback); 51 } 52 } | Popular Tags |