org.universAAL.ri.servicegateway.osgi
Class Activator
java.lang.Object
org.universAAL.ri.servicegateway.osgi.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator
Main class for HTTP Services Gateway. It handles the registration of servlets
which provides different services based on URI. It register a Login servlet
and uses a Service Tracker to track for GatewayPort
objects and
register them using the url
and dataDir
methods of
GatewayPort.
- Author:
- Mario Latronico, eandgrg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
public static org.osgi.framework.BundleContext context
mcontext
protected static ModuleContext mcontext
- universAAL
ModuleContext
Activator
public Activator()
start
public void start(org.osgi.framework.BundleContext context)
- Specified by:
start
in interface org.osgi.framework.BundleActivator
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
getModuleContext
public static ModuleContext getModuleContext()
Copyright © 2014 universAAL Consortium. All Rights Reserved.