org.universAAL.ri.gateway.communicator
Class Activator

Package class diagram package Activator
java.lang.Object
  extended by 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

Field Summary
static org.osgi.framework.BundleContext bc
           
static ModuleContext mc
           
 
Constructor Summary
Activator()
           
 
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
 

Field Detail

bc

public static org.osgi.framework.BundleContext bc

mc

public static ModuleContext mc
Constructor Detail

Activator

public Activator()
Method Detail

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.