@SpecVersion(spec="cdi",
version="20091101")
public class RequestContextTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
RequestContextTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testRequestScopeActiveDuringServiceMethod()
The request scope is active during the service() method of any Servlet in the web application.
|
void |
testRequestScopeActiveDuringServletFilter()
The request scope is active during the doFilter() method of any Filter in the web application.
|
void |
testRequestScopeIsDestroyedAfterServletRequest()
The request context is destroyed at the end of the servlet request, after the service() method and all doFilter()
methods, and all requestDestroyed() notifications return.
|
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@Deployment(testable=false) public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertions(value={@SpecAssertion(section="request_context",id="aa"),@SpecAssertion(section="request_context",id="ac")})
public void testRequestScopeActiveDuringServiceMethod()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="request_context",id="ab"),@SpecAssertion(section="request_context",id="ac")})
public void testRequestScopeActiveDuringServletFilter()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="request_context",id="ba"),@SpecAssertion(section="request_context",id="bb"),@SpecAssertion(section="request_context",id="bc")})
public void testRequestScopeIsDestroyedAfterServletRequest()
throws Exception
ExceptionCopyright © 2008-2013 Seam Framework. All Rights Reserved.