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