public class Activator extends Object implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
context
- The bundle context.Exception
Copyright © 2005–2016. All rights reserved.