org.objectweb.jonas.resource
Class JCAConnectionFactoryMBean

java.lang.Object
  extended by org.apache.commons.modeler.BaseModelMBean
      extended by org.objectweb.jonas.resource.JCAConnectionFactoryMBean
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean

public class JCAConnectionFactoryMBean
extends org.apache.commons.modeler.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:
Eric Hardesty

Field Summary
 
Fields inherited from class org.apache.commons.modeler.BaseModelMBean
attributeBroadcaster, attributes, generalBroadcaster, info, oname, registry, resource, resourceType, source
 
Constructor Summary
JCAConnectionFactoryMBean()
          Default constructor
 
Method Summary
 void addNotificationListener(javax.management.NotificationListener pListner, javax.management.NotificationFilter pFilter, java.lang.Object pHandback)
          Overloaded method
 
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

JCAConnectionFactoryMBean

public JCAConnectionFactoryMBean()
                          throws javax.management.MBeanException
Default constructor

Throws:
javax.management.MBeanException - if super constructor fails
Method Detail

addNotificationListener

public void addNotificationListener(javax.management.NotificationListener pListner,
                                    javax.management.NotificationFilter pFilter,
                                    java.lang.Object pHandback)
                             throws java.lang.IllegalArgumentException
Overloaded method

Specified by:
addNotificationListener in interface javax.management.NotificationBroadcaster
Overrides:
addNotificationListener in class org.apache.commons.modeler.BaseModelMBean
Parameters:
pListner - Listener to notify
pFilter - Notification filter
pHandback - ??
Throws:
java.lang.IllegalArgumentException - if notification is not done