no.ubicollab.osgi
Class Activator

java.lang.Object
  extended by no.ubicollab.osgi.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator

The Class Activator contains the start method, which is the method called by the framework to start/activate this bundle (and then the registry service).

Since:
0.1
Version:
0.2
Author:
Kim-Steve Johansen

Constructor Summary
Activator()
           
 
Method Summary
 void start(org.osgi.framework.BundleContext bc)
          This method is invoked by the framework to start the bundle and its service
 void stop(org.osgi.framework.BundleContext bc)
          This method is invoked by the framework to stop the bundle and its service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws org.osgi.framework.BundleException
This method is invoked by the framework to start the bundle and its service

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bc - A refrence to the Frameworks BundleContext
Throws:
org.osgi.framework.BundleException
See Also:
BundleActivator.start(org.osgi.framework.BundleContext)

stop

public void stop(org.osgi.framework.BundleContext bc)
          throws org.osgi.framework.BundleException
This method is invoked by the framework to stop the bundle and its service. All resources used is released to the garbage collector.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
bc - A refrence to the Frameworks BundleContext
Throws:
org.osgi.framework.BundleException
See Also:
BundleActivator.stop(org.osgi.framework.BundleContext)