DbDriverActivator

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

Methods
void start(BundleContext bundleContext)
Start the bundle.
void start(BundleContext bundleContext)
Start the bundle. If the 'org.osgi.service.jdbc.DataSourceFactory' class is available in the class path, this will load the database driver and register the DataSourceFactory service.
Parameters:
bundleContext - the bundle context
void stop(BundleContext bundleContext)
Stop the bundle.
void stop(BundleContext bundleContext)
Stop the bundle. This will unload the database driver. The DataSourceFactory service is implicitly un-registered by the OSGi framework.
Parameters:
bundleContext - the bundle context