org.apache.webbeans.web.context
Class ServletRequestContext

java.lang.Object
  extended by org.apache.webbeans.context.AbstractContext
      extended by org.apache.webbeans.context.RequestContext
          extended by org.apache.webbeans.web.context.ServletRequestContext
All Implemented Interfaces:
Serializable, javax.enterprise.context.spi.Context, WebBeansContext

public class ServletRequestContext
extends RequestContext

RequestContext which additionally holds the current servletRequest for being able to lazily initialise the SessionContext if needed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.webbeans.context.AbstractContext
active, componentInstanceMap, scopeType, type
 
Constructor Summary
ServletRequestContext()
           
 
Method Summary
 void destroy()
           
 javax.servlet.http.HttpServletRequest getServletRequest()
           
 void setServletRequest(javax.servlet.http.HttpServletRequest servletRequest)
           
 
Methods inherited from class org.apache.webbeans.context.RequestContext
setComponentInstanceMap
 
Methods inherited from class org.apache.webbeans.context.AbstractContext
checkActive, get, get, getComponentInstanceMap, getCreationalContext, getInstance, getScope, getType, initContextualBag, isActive, setActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletRequestContext

public ServletRequestContext()
Method Detail

getServletRequest

public javax.servlet.http.HttpServletRequest getServletRequest()

setServletRequest

public void setServletRequest(javax.servlet.http.HttpServletRequest servletRequest)

destroy

public void destroy()
Specified by:
destroy in interface WebBeansContext
Overrides:
destroy in class AbstractContext


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.