| java.lang.Object com.db4o.osgi.Db4oActivator
Db4oActivator | public class Db4oActivator implements BundleActivator(Code) | | db4o-osgi bundle BundleActivator implementation.
Db4oActivator customizes the way the bundle is started
and stopped by the Framework.
|
Method Summary | |
public void | start(BundleContext context) This method is called when the bundle is started by the Framework. | public void | stop(BundleContext context) This method is called when the bundle is stopped by the Framework. |
start | public void start(BundleContext context) throws Exception(Code) | | This method is called when the bundle is started by the Framework.
The method registers Db4oService, making it available for clients.
Parameters: context - The execution context of the bundle being started. throws: java.lang.Exception - If this method throws an exception, thisbundle is marked as stopped and the Framework will remove thisbundle's listeners, unregister all services registered by thisbundle, and release all services used by this bundle. |
stop | public void stop(BundleContext context) throws Exception(Code) | | This method is called when the bundle is stopped by the Framework.
Parameters: context - The execution context of the bundle being stopped. throws: java.lang.Exception - If this method throws an exception, thebundle is still marked as stopped, and the Framework will removethe bundle's listeners, unregister all services registered by thebundle, and release all services used by the bundle. |
|
|