org.apache.felix.examples.spellcheckbinder
Class Activator

java.lang.Object
  extended by org.apache.felix.servicebinder.GenericActivator
      extended by 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

Constructor Summary
Activator()
           
 
Method Summary
 
Methods inherited from class org.apache.felix.servicebinder.GenericActivator
getBundleContext, getInstanceReferences, proxyProvidedServiceObject, proxyRequiredServiceObject, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.