org.objectweb.dsrg.sofa.osgi
Class HostActivator

java.lang.Object
  extended by org.objectweb.dsrg.sofa.osgi.HostActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

Host to interact with the embedded Framework


Constructor Summary
HostActivator()
           
 
Method Summary
 org.osgi.framework.BundleContext getContext()
          Get the execution context
 void start(org.osgi.framework.BundleContext context)
          Called when the Framework starts
 void stop(org.osgi.framework.BundleContext context)
          Called when the Framework stops
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostActivator

public HostActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
Called when the Framework starts

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - the execution context

stop

public void stop(org.osgi.framework.BundleContext context)
Called when the Framework stops

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - the execution context

getContext

public org.osgi.framework.BundleContext getContext()
Get the execution context

Returns:
the execution context