org.jboss.management.j2ee
Class JDBCDriver

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.JDBCDriver
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class JDBCDriver
extends J2EEManagedObject (src)

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


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
JDBCDriver(java.lang.String pName, ObjectName (src)  pServer)
           
 
Method Summary
static ObjectName (src) create(MBeanServer (src)  pServer, java.lang.String pName, ObjectName (src)  pService)
           
static void destroy(MBeanServer (src)  pServer, java.lang.String pName)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
addChild, getobjectName, getObjectName, getObjectName, getparent, getParentKeys, 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

JDBCDriver

public JDBCDriver(java.lang.String pName,
                  ObjectName (src)  pServer)
           throws MalformedObjectNameException (src) ,
                  InvalidParentException (src) 
Parameters:
pName - Name of the JDBCDataSource
Throws:
InvalidParameterException - If list of nodes or ports was null or empty
MalformedObjectNameException (src)
InvalidParentException (src)
Method Detail

create

public static ObjectName (src)  create(MBeanServer (src)  pServer,
                                java.lang.String pName,
                                ObjectName (src)  pService)

destroy

public static void destroy(MBeanServer (src)  pServer,
                           java.lang.String pName)

toString

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