org.h2.util
Class DbDriverActivator

java.lang.Object
  extended by org.h2.util.DbDriverActivator

public class DbDriverActivator
extends java.lang.Object

The driver activator loads the H2 driver when starting the bundle. The driver is unloaded when stopping the bundle.


Constructor Summary
DbDriverActivator()
           
 
Method Summary
 void start(BundleContext bundleContext)
          Start the bundle.
 void stop(BundleContext bundleContext)
          Stop the bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbDriverActivator

public DbDriverActivator()
Method Detail

start

public void start(BundleContext bundleContext)
Start the bundle. This will load and register the database driver.

Parameters:
bundleContext - the bundle context

stop

public void stop(BundleContext bundleContext)
Stop the bundle. This will deregister the database driver.

Parameters:
bundleContext - the bundle context