|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.example.servicebased.circle.Activator
public class Activator
This class implements a simple bundle activator for the circle SimpleShape service. This activator simply creates an instance of the circle service object and registers it with the service registry along with the service properties indicating the service's name and icon.
Nested Class Summary | |
---|---|
class |
Activator.Circle
This inner class implements the circle SimpleShape service. |
Constructor Summary | |
---|---|
Activator()
|
Method Summary | |
---|---|
void |
start(org.osgi.framework.BundleContext context)
Implements the BundleActivator.start() method, which registers the circle SimpleShape service. |
void |
stop(org.osgi.framework.BundleContext context)
Implements the BundleActivator.start() method, which does nothing. |
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 context for the bundle.public void stop(org.osgi.framework.BundleContext context)
stop
in interface org.osgi.framework.BundleActivator
context
- The context for the bundle.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |