fr.cnes.sitools.engine
Class SitoolsActivator
java.lang.Object
fr.cnes.sitools.engine.SitoolsActivator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class SitoolsActivator
- extends java.lang.Object
- implements org.osgi.framework.BundleActivator
OSGi activator. It registers the NRE into the Restlet API and also introspect the bundles to find connector or
authentication helpers.
- Author:
- Jerome Louvel
Method Summary |
void |
start(org.osgi.framework.BundleContext context)
Starts the OSGi bundle by registering the engine with the bundle of the Restlet API. |
void |
stop(org.osgi.framework.BundleContext context)
Stops the OSGi bundle by unregistering the engine with the bundle of the Restlet API. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SitoolsActivator
public SitoolsActivator()
start
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Starts the OSGi bundle by registering the engine with the bundle of the Restlet API.
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Parameters:
context
- The bundle context.
- Throws:
java.lang.Exception
- when occurs.
stop
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Stops the OSGi bundle by unregistering the engine with the bundle of the Restlet API.
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Parameters:
context
- The bundle context.
- Throws:
java.lang.Exception
- when occurs.
Copyright © 2010-2013 CNES. All Rights Reserved.