|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.examples.spellcheckservice.impl.Activator
public class Activator
This class implements a bundle that implements a spell check service. The spell check service uses all available dictionary services to check for the existence of words in a given sentence. This bundle not only monitors the dynamic availability of dictionary services, but it manages the aggregation of all available dictionary services as they arrive and depart. The spell check service is only registered if there are dictionary services available, thus the spell check service will appear and disappear as dictionary services appear and disappear, respectively.
Constructor Summary | |
---|---|
Activator()
|
Method Summary | |
---|---|
void |
serviceChanged(ServiceEvent event)
Implements ServiceListener.serviceChanged(). |
void |
start(BundleContext context)
Implements BundleActivator.start(). |
void |
stop(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(BundleContext context) throws Exception
start
in interface BundleActivator
context
- the framework context for the bundle.
Exception
public void stop(BundleContext context)
stop
in interface BundleActivator
context
- the framework context for the bundle.public void serviceChanged(ServiceEvent event)
serviceChanged
in interface ServiceListener
event
- the fired service event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |