org.apache.felix.examples.spellcheckbinder
Class Activator
java.lang.Object
org.apache.felix.servicebinder.GenericActivator
org.apache.felix.examples.spellcheckbinder.Activator
- All Implemented Interfaces:
- BundleActivator
public class Activator
- extends GenericActivator
This example re-implements the spell check service of Example 5 using the
Apache Felix Service Binder. The Service Binder greatly simplifies creating OSGi
applications by essentially eliminating the need to write OSGi-related code;
instead of writing OSGi code for your bundle, you create a simple XML file to
describe your bundle's service dependencies. This class extends the generic
bundle activator; it does not provide any additional functionality. All
functionality for service-related tasks, such as look-up and binding, is
handled by the generic activator base class using data from the metadata.xml
file. All application functionality is defined in the
SpellCheckServiceImpl.java file.
- Author:
- Felix Project Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Activator
public Activator()
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.