## org.jboss.jdbc
Class InstantDBDatabase

    java.lang.Object
      |
      +--javax.management.NotificationBroadcasterSupport
            |
            +--org.jboss.util.ServiceMBeanSupport
                  |
                  +--org.jboss.jdbc.InstantDBDatabase

All Implemented Interfaces:
  InstantDBDatabaseMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, Service, ServiceMBean

public class InstantDBDatabase
extends ServiceMBeanSupport
implements InstantDBDatabaseMBean, javax.management.MBeanRegistration

<description>

Version:
  $Revision: 1.3.6.1 $
Author:
  Rickard Öberg (rickard.oberg@telkel.com)
See Also:
  <related>

Fields inherited from class org.jboss.util.ServiceMBeanSupport
`log, server`

Fields inherited from interface org.jboss.jdbc.InstantDBDatabaseMBean
`OBJECT_NAME`

Fields inherited from interface org.jboss.util.ServiceMBean
`STARTED, STARTING, states, STOPPED, STOPPING`

Constructor Summary
`InstantDBDatabase()`
`InstantDBDatabase(java.lang.String poolName)`

Method Summary
`java.lang.String` `getName()`
`javax.management.ObjectName` `getObjectName(javax.management.MBeanServer server, javax.management.ObjectName name)`
`void` `initService()`
`void` `stopService()`

Methods inherited from class org.jboss.util.ServiceMBeanSupport
`destroy, destroyService, getServer, getState, getStateString, init, nextSequenceNumber, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop`

Methods inherited from class javax.management.NotificationBroadcasterSupport
`addNotificationListener, getNotificationInfo, removeNotificationListener, sendNotification`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.jboss.util.ServiceMBean
`getState, getStateString`

Methods inherited from interface org.jboss.util.Service
`destroy, init, start, stop`

Methods inherited from interface javax.management.MBeanRegistration
`postDeregister, postRegister, preDeregister, preRegister`

Constructor Detail

### InstantDBDatabase

    public InstantDBDatabase()

### InstantDBDatabase

    public InstantDBDatabase(java.lang.String poolName)

Method Detail

### getObjectName

    public javax.management.ObjectName getObjectName(javax.management.MBeanServer server,
                                                     javax.management.ObjectName name)
                                              throws javax.management.MalformedObjectNameException

  Overrides:
    `getObjectName` in class `ServiceMBeanSupport`

### getName

    public java.lang.String getName()

  Specified by:
    `getName` in interface `ServiceMBean`
  Overrides:
    `getName` in class `ServiceMBeanSupport`

### initService

    public void initService()
                     throws java.lang.Exception

  Overrides:
    `initService` in class `ServiceMBeanSupport`

### stopService

    public void stopService()

  Overrides:
    `stopService` in class `ServiceMBeanSupport`

Copyright © 2000 The JBoss Organization. All Rights Reserved.