org.nuxeo.runtime.osgi
Class OSGiRuntimeActivator
java.lang.Object
org.nuxeo.runtime.osgi.OSGiRuntimeActivator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
- Direct Known Subclasses:
- OSGIRuntimeTestActivator
public class OSGiRuntimeActivator
- extends Object
- implements org.osgi.framework.BundleActivator
The default BundleActivator for NXRuntime over an OSGi comp. platform.
- Author:
- Bogdan Stefanescu
|
Method Summary |
protected void |
initialize(OSGiRuntimeService runtime)
Gives a chance to derived classes to initialize them before the runtime is
started. |
void |
start(org.osgi.framework.BundleContext context)
|
void |
stop(org.osgi.framework.BundleContext context)
|
protected void |
uninitialize(OSGiRuntimeService runtime)
Gives a chance to derived classes to unitialize them after the runtime
is stopped. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runtime
protected OSGiRuntimeService runtime
componentLoader
protected OSGiComponentLoader componentLoader
OSGiRuntimeActivator
public OSGiRuntimeActivator()
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
start in interface org.osgi.framework.BundleActivator
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop in interface org.osgi.framework.BundleActivator
- Throws:
Exception
initialize
protected void initialize(OSGiRuntimeService runtime)
- Gives a chance to derived classes to initialize them before the runtime is
started.
- Parameters:
runtime - the current runtime
uninitialize
protected void uninitialize(OSGiRuntimeService runtime)
- Gives a chance to derived classes to unitialize them after the runtime
is stopped.
- Parameters:
runtime - the current runtime
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.