org.apache.servicemix.specs.activation
Class Activator

java.lang.Object
  extended by org.apache.servicemix.specs.locator.Activator
      extended by org.apache.servicemix.specs.activation.Activator
All Implemented Interfaces:
EventListener, BundleActivator, BundleListener, SynchronousBundleListener

public class Activator
extends Activator

A bundle activator for activation framework


Constructor Summary
Activator()
           
 
Method Summary
protected  void register(Bundle bundle)
           
 void start(BundleContext bundleContext)
           
 void stop(BundleContext bundleContext)
           
protected  void unregister(long bundleId)
           
 
Methods inherited from class org.apache.servicemix.specs.locator.Activator
bundleChanged, debugPrintln
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(BundleContext bundleContext)
           throws Exception
Specified by:
start in interface BundleActivator
Overrides:
start in class Activator
Throws:
Exception

stop

public void stop(BundleContext bundleContext)
          throws Exception
Specified by:
stop in interface BundleActivator
Overrides:
stop in class Activator
Throws:
Exception

register

protected void register(Bundle bundle)
Overrides:
register in class Activator

unregister

protected void unregister(long bundleId)
Overrides:
unregister in class Activator


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