org.jboss.management.j2ee
Class JCAConnectionFactory

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.management.j2ee.J2EEManagedObject (src) 
              extended byorg.jboss.management.j2ee.JCAConnectionFactory
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class JCAConnectionFactory
extends J2EEManagedObject (src)

Root class of the JBoss JSR-77 implementation of JCAConnectionFactory.


Field Summary
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
NAME, TYPE
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
JCAConnectionFactory(java.lang.String resName, ObjectName (src)  jsr77ParentName, ObjectName (src)  ccmServiceNameName, ObjectName (src)  mcfServiceName)
           
 
Method Summary
static ObjectName (src) create(MBeanServer (src)  mbeanServer, java.lang.String resName, ObjectName (src)  jsr77ParentName, ObjectName (src)  ccmServiceNameName, ObjectName (src)  mcfServiceName)
           
static void destroy(MBeanServer (src)  mbeanServer, java.lang.String resName)
           
 java.lang.String getmanagedConnectionFactory()
           
protected  java.util.Hashtable getParentKeys(ObjectName (src)  parentName)
          This method can be overwritten by any subclass which must return <parent-j2eeType> indicating its parents.
 JCAConnectionPoolStatsImpl (src) getPoolStats(ObjectName (src)  poolServiceName)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
addChild, getobjectName, getObjectName, getObjectName, getparent, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postRegister, preDeregister, preDestruction, removeChild, removeObject, removeObject, sendNotification, setparent
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, preRegister, start, startService, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCAConnectionFactory

public JCAConnectionFactory(java.lang.String resName,
                            ObjectName (src)  jsr77ParentName,
                            ObjectName (src)  ccmServiceNameName,
                            ObjectName (src)  mcfServiceName)
                     throws MalformedObjectNameException (src) ,
                            InvalidParentException (src) 
Method Detail

create

public static ObjectName (src)  create(MBeanServer (src)  mbeanServer,
                                java.lang.String resName,
                                ObjectName (src)  jsr77ParentName,
                                ObjectName (src)  ccmServiceNameName,
                                ObjectName (src)  mcfServiceName)

destroy

public static void destroy(MBeanServer (src)  mbeanServer,
                           java.lang.String resName)

getmanagedConnectionFactory

public java.lang.String getmanagedConnectionFactory()

getPoolStats

public JCAConnectionPoolStatsImpl (src)  getPoolStats(ObjectName (src)  poolServiceName)

toString

public java.lang.String toString()
Overrides:
toString in class J2EEManagedObject (src)

getParentKeys

protected java.util.Hashtable getParentKeys(ObjectName (src)  parentName)
Description copied from class: J2EEManagedObject (src)
This method can be overwritten by any subclass which must return <parent-j2eeType> indicating its parents. By default it returns an empty hashtable instance.

Overrides:
getParentKeys in class J2EEManagedObject (src)
Parameters:
parentName - The direct parent of this class
Returns:
A hashtable with the JCAResource and J2EEServer