org.qi4j.library.http
Class Servlets.ContextListenerDeclaration

java.lang.Object
  extended by org.qi4j.library.http.Servlets.ContextListenerDeclaration
Enclosing class:
Servlets

public static class Servlets.ContextListenerDeclaration
extends java.lang.Object


Constructor Summary
Servlets.ContextListenerDeclaration()
           
 
Method Summary
 java.lang.Class<? extends ServiceComposite> contextListener()
           
<T extends javax.servlet.ServletContextListener & ServiceComposite>
Servlets.ContextListenerDeclaration
with(java.lang.Class<T> contextListener)
           
 Servlets.ContextListenerDeclaration withInitParams(java.util.Map<java.lang.String,java.lang.String> initParams)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Servlets.ContextListenerDeclaration

public Servlets.ContextListenerDeclaration()
Method Detail

with

public <T extends javax.servlet.ServletContextListener & ServiceComposite> Servlets.ContextListenerDeclaration with(java.lang.Class<T> contextListener)

contextListener

public java.lang.Class<? extends ServiceComposite> contextListener()

withInitParams

public Servlets.ContextListenerDeclaration withInitParams(java.util.Map<java.lang.String,java.lang.String> initParams)