SMILA 1.0 API documentation

org.eclipse.smila.http.server.util
Class ServletContextService

java.lang.Object
  extended by org.eclipse.smila.http.server.util.AJettyHandlerService
      extended by org.eclipse.smila.http.server.util.ServletContextService
All Implemented Interfaces:
JettyHandler

public class ServletContextService
extends AJettyHandlerService

A prototypical service to register a single servlet in the http server.

Author:
jschumacher

Field Summary
 
Fields inherited from class org.eclipse.smila.http.server.util.AJettyHandlerService
PROPERTY_CONFIGBUNDLE
 
Constructor Summary
ServletContextService()
           
 
Method Summary
protected  void activate(ComponentContext context)
          read #PROPERTY_ROOTCONTEXTPATH property.
 Handler getHandler()
           
 
Methods inherited from class org.eclipse.smila.http.server.util.AJettyHandlerService
getConfigBundle, getConfigPathProperty, getRootContextPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextService

public ServletContextService()
Method Detail

activate

protected void activate(ComponentContext context)
Description copied from class: AJettyHandlerService
read #PROPERTY_ROOTCONTEXTPATH property.

Overrides:
activate in class AJettyHandlerService
Parameters:
context - OSGi component context

getHandler

public Handler getHandler()
Returns:
the actual jetty handler

SMILA 1.0 API documentation