@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class DecoratorAndInterceptorTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
DecoratorAndInterceptorTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testLifecycleCallbacks() |
void |
testMethodCallbacks()
Test that interceptor chain is called before decorator chain and that invocations of decorator methods during method or
lifecycle callback interception are not business method invocation, and therefore are not intercepted by interceptors.
|
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="enabled_decorators",id="b") @SpecAssertion(section="enabled_interceptors",id="i") @SpecAssertion(section="biz_method",id="ka") @SpecAssertion(section="biz_method",id="kb") @SpecAssertion(section="biz_method",id="kc") @SpecAssertion(section="biz_method",id="kd") public void testMethodCallbacks()
@SpecAssertion(section="biz_method",id="kc") @SpecAssertion(section="biz_method",id="kd") public void testLifecycleCallbacks()
Copyright © 2008–2016 CDI TCK. All rights reserved.