org.universAAL.ri.gateway.communicator
Class Activator
java.lang.Object
org.universAAL.ri.gateway.communicator.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator
Bundle's activator. Starts a default instance of the GatewayCommunicator
worker by use of GatewayCommunicatorInstantiator.
- Author:
- skallz
Method Summary |
void |
start(org.osgi.framework.BundleContext context)
Starts the communicator. |
void |
stop(org.osgi.framework.BundleContext context)
Stops the communicator and all used resources. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bc
public static org.osgi.framework.BundleContext bc
mc
public static ModuleContext mc
Activator
public Activator()
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Starts the communicator.
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Parameters:
context
- bundle context
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext context)
- Stops the communicator and all used resources.
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Parameters:
context
- bundle context
Copyright © 2014 universAAL Consortium. All Rights Reserved.