|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.examples.frenchdictionary.Activator
public class Activator
This class implements a simple bundle that uses the bundle context to register an French language dictionary service with the OSGi framework. The dictionary service interface is defined in a separate class file and is implemented by an inner class. This class is identical to the class in Example 2, except that the dictionary contains French words.
Constructor Summary | |
---|---|
Activator()
|
Method Summary | |
---|---|
void |
start(org.osgi.framework.BundleContext context)
Implements BundleActivator.start(). |
void |
stop(org.osgi.framework.BundleContext context)
Implements BundleActivator.stop(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Activator()
Method Detail |
---|
public void start(org.osgi.framework.BundleContext context)
start
in interface org.osgi.framework.BundleActivator
context
- the framework context for the bundle.public void stop(org.osgi.framework.BundleContext context)
stop
in interface org.osgi.framework.BundleActivator
context
- the framework context for the bundle.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |