@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class ApplicationShutdownLifecycleTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
ApplicationShutdownLifecycleTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createBarTestArchive() |
static org.jboss.shrinkwrap.api.spec.WebArchive |
createFooTestArchive() |
void |
deployArchives()
This is not a real test method.
|
void |
testShutdown(URL fooContext,
URL infoContext)
Note that this test method depends on (must be run after)
|
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@Deployment(name="foo",
managed=false,
testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createFooTestArchive()
@Deployment(name="info",
managed=false,
testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createBarTestArchive()
@InSequence(value=1) public void deployArchives()
#testShutdown()@SpecAssertion(section="shutdown",id="a") @SpecAssertion(section="shutdown",id="b") @SpecAssertion(section="request_context_ee",id="ja") @SpecAssertion(section="application_context_ee",id="ga") @SpecAssertion(section="before_shutdown",id="a")
public void testShutdown(@ArquillianResource @OperateOnDeployment(value="foo")
URL fooContext,
@ArquillianResource @OperateOnDeployment(value="info")
URL infoContext)
throws Exception
ExceptionCopyright © 2008–2016 CDI TCK. All rights reserved.