@SpecVersion(spec="cdi",
version="20091101")
public class EnterpriseArchiveModulesTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
EnterpriseArchiveModulesTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.EnterpriseArchive |
createTestArchive()
Modules:
A - EJB jar BDA: Foo, BusinessOperationEventInspector
B - EJB jar BDA: Bar, BarInspector, ContainerEventsObserver, LegacyServiceProducer, DummyBar
C - lib BDA: AlternativeBar, Util, Business, BusinessOperationEvent, BusinessOperationObservedEvent, NonEnterprise,
Secured, SecurityInterceptor, LoggingDecorator
D - lib non-BDA: LegacyService
E - web archive
F - WEB-INF/classes BDA: Baz
G - WEB-INF/lib BDA: Qux
|
void |
testAlternatives() |
void |
testDecoratorEnablement() |
void |
testExtensionAndContainerEvents() |
void |
testProducerAndEventDuringDisposal() |
void |
testVisibilityAndInterceptorEnablement() |
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.EnterpriseArchive createTestArchive()
@SpecAssertions(value=@SpecAssertion(section="init_events",id="bb"))
public void testExtensionAndContainerEvents()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="bean_archive",id="ja"),@SpecAssertion(section="bean_archive",id="jb"),@SpecAssertion(section="bean_archive",id="jc"),@SpecAssertion(section="bean_archive",id="je"),@SpecAssertion(section="performing_typesafe_resolution",id="n")})
public void testVisibilityAndInterceptorEnablement()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="decorator_resolution",id="aa"),@SpecAssertion(section="enabled_decorators_bean_archive",id="a")})
public void testDecoratorEnablement()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="producer_method",id="aa"),@SpecAssertion(section="producer_method",id="c"),@SpecAssertion(section="observer_resolution",id="c")})
public void testProducerAndEventDuringDisposal()
throws Exception
ExceptionCopyright © 2008-2013 Seam Framework. All Rights Reserved.