org.apache.servicemix.specs.locator
Class Activator

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

public class Activator
extends Object
implements BundleActivator, SynchronousBundleListener


Constructor Summary
Activator()
           
 
Method Summary
 void bundleChanged(BundleEvent event)
           
protected  void debugPrintln(String msg)
          Output debugging messages.
protected  void register(Bundle bundle)
           
 void start(BundleContext bundleContext)
           
 void stop(BundleContext bundleContext)
           
protected  void unregister(long bundleId)
           
 
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

debugPrintln

protected void debugPrintln(String msg)

Output debugging messages.

Parameters:
msg - String to print to stderr.

start

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

stop

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

bundleChanged

public void bundleChanged(BundleEvent event)
Specified by:
bundleChanged in interface BundleListener

register

protected void register(Bundle bundle)

unregister

protected void unregister(long bundleId)


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.