@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class PassivatingContextTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
PassivatingContextTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testBeanWithNonSerializableImplementationInjectedIntoTransientFieldOK() |
void |
testInjectionOfDependentPrimitiveProductIntoNormalBean() |
void |
testInjectionOfDependentSerializableProductIntoNormalBean() |
void |
testManagedBeanWithSerializableDecoratorOK() |
void |
testManagedBeanWithSerializableImplementationClassOK() |
void |
testManagedBeanWithSerializableInterceptorClassOK() |
void |
testNonSerializableProducerFieldDeclaredPassivatingThrowsIllegalProductException() |
void |
testPassivatingScopeProducerMethodReturnsUnserializableObjectNotOk() |
void |
testPassivationCapableProducerFieldIsOK() |
void |
testPassivationCapableProducerMethodIsOK() |
void |
testPassivationOccurs() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertion(section="passivation_capable",id="ba") @SpecAssertion(section="passivating_scopes",id="a") public void testManagedBeanWithSerializableImplementationClassOK()
@SpecAssertion(section="passivation_capable",id="bb") @SpecAssertion(section="passivating_scope",id="a")
public void testManagedBeanWithSerializableInterceptorClassOK()
throws ClassNotFoundException,
IOException
ClassNotFoundExceptionIOException@SpecAssertion(section="passivation_capable",
id="bc")
public void testManagedBeanWithSerializableDecoratorOK()
@SpecAssertion(section="passivation_capable",
id="ca")
public void testPassivationCapableProducerMethodIsOK()
@SpecAssertion(section="passivation_capable",
id="da")
public void testPassivationCapableProducerFieldIsOK()
@SpecAssertion(section="passivation_capable_dependency",
id="c")
public void testInjectionOfDependentPrimitiveProductIntoNormalBean()
@SpecAssertion(section="passivation_capable_dependency",
id="c")
public void testInjectionOfDependentSerializableProductIntoNormalBean()
@SpecAssertions(value=@SpecAssertion(section="passivating_scope",id="a"))
public void testPassivationOccurs()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundException@SpecAssertion(section="passivation_validation",id="ab") @SpecAssertion(section="passivation_capable_injection_points",id="a") public void testBeanWithNonSerializableImplementationInjectedIntoTransientFieldOK()
@SpecAssertion(section="passivation_validation",
id="ea")
public void testPassivatingScopeProducerMethodReturnsUnserializableObjectNotOk()
@SpecAssertion(section="passivation_validation",
id="eb")
public void testNonSerializableProducerFieldDeclaredPassivatingThrowsIllegalProductException()
Copyright © 2008–2016 CDI TCK. All rights reserved.