@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class SessionContextTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
SessionContextTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testSessionContextDestroyedWhenHttpSessionInvalidated()
Test that the session context is destroyed at the very end of any request
in which invalidate() was called, after all filters and
ServletRequestListeners have been called.
|
void |
testSessionContextDestroyedWhenHttpSessionTimesOut()
The session context is destroyed when the HTTPSession times out, after
all HttpSessionListeners have been called.
|
void |
testSessionContextSharedBetweenServletRequestsInSameHttpSession() |
void |
testSessionScopeActiveDuringDoFilterMethod() |
void |
testSessionScopeActiveDuringServiceMethod() |
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()
@SpecAssertion(section="session_context_ee",id="aa") @SpecAssertion(section="session_context_ee",id="ae")
public void testSessionScopeActiveDuringServiceMethod()
throws Exception
Exception@SpecAssertion(section="session_context_ee",id="ab") @SpecAssertion(section="session_context_ee",id="ae")
public void testSessionScopeActiveDuringDoFilterMethod()
throws Exception
Exception@SpecAssertion(section="session_context_ee",
id="b")
public void testSessionContextSharedBetweenServletRequestsInSameHttpSession()
throws Exception
Exception@SpecAssertion(section="session_context_ee",
id="ca")
public void testSessionContextDestroyedWhenHttpSessionInvalidated()
throws Exception
Exception@SpecAssertion(section="session_context_ee",
id="cb")
public void testSessionContextDestroyedWhenHttpSessionTimesOut()
throws Exception
ExceptionCopyright © 2008–2016 CDI TCK. All rights reserved.