|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.example.servicebased.triangle.Activator
public class Activator
This class implements a simple bundle activator for the triangle SimpleShape service. This activator simply creates an instance of the triangle 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.Triangle
This inner class implements the triangle SimpleShape service. |
Constructor Summary | |
---|---|
Activator()
|
Method Summary | |
---|---|
void |
start(org.osgi.framework.BundleContext context)
Implements the BundleActivator.start() method, which registers the triangle 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 |