fr.imag.adele.bundle.webcam
Class Activator
java.lang.Object
fr.imag.adele.bundle.webcam.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
- public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator
This activator read configuration properties from a file and initialize a
Producer service with these properties and register it
- Version:
- 1.0 22/02/2004
- Author:
- Didier Donsez (Didier.Donsez@ieee.org)
Method Summary |
protected InputStream |
config(org.osgi.framework.BundleContext context)
|
void |
start(org.osgi.framework.BundleContext context)
Called upon starting of the bundle. |
void |
stop(org.osgi.framework.BundleContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected org.osgi.framework.BundleContext context
CONFIGFILE
protected static final String CONFIGFILE
- See Also:
- Constant Field Values
Activator
public Activator()
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Called upon starting of the bundle.
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Parameters:
context
- The bundle context passed by the framework
- Throws:
Exception
Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
config
protected InputStream config(org.osgi.framework.BundleContext context)
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException