org.keridwen.sample.helloworld.osgi
Class BundleStarter

java.lang.Object
  extended by org.keridwen.sample.helloworld.osgi.BundleStarter

public class BundleStarter
extends Object

The BundleStarter is the class that contains the methods that are called when the Bundle is started or stopped by the OSGi framework. This behaviour is configured in the src/main/resources/metadata.xml file.

Author:
Benoit Thiebault

Constructor Summary
BundleStarter()
          Default constructor.
 
Method Summary
 void start()
          This method is called whenever the OSGi framework starts the bundle.
 void stop()
          This method is called whenever the OSGi framework stops the bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleStarter

public BundleStarter()
Default constructor.

Method Detail

start

public void start()
This method is called whenever the OSGi framework starts the bundle.


stop

public void stop()
This method is called whenever the OSGi framework stops the bundle.



Copyright © 2011-2013 Artenum. All Rights Reserved.