org.ubicollab.X10Proxy
Class Activator

java.lang.Object
  extended by org.ubicollab.X10Proxy.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 and stop methods, which is used by the framework to start/activate and stop/deactivate this bundle (and thus the X10 Proxy Service).

Version:
0.1
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.start(org.osgi.framework.BundleContext)