@SpecVersion(spec="cdi",
version="1.1 Final Release")
public class EnterpriseSelectedAlternative03Test
extends AbstractTest
Foo TestBean alternative with priority 1000Bar TestBean alternative with priority 2000, BarProducer Bar alternative producer method and Bar alternative producer
field with priority 1100 with 2 different annotations .Foo is available for injection in all beansBar is available for injection in beans in war onlyTestBean, Bar is preferred if visibleBarProducer alternative producer method and alternative producer field are both selected and visible in war only.beanManager| Constructor and Description |
|---|
EnterpriseSelectedAlternative03Test() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.EnterpriseArchive |
createTestArchive() |
void |
testAlternativeManagedBeanAvailable() |
void |
testAlternativeProducerSelected() |
void |
testDependencyResolvable() |
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="declaring_selected_alternatives_application",id="aa")) public void testAlternativeManagedBeanAvailable()
@SpecAssertions(value=@SpecAssertion(section="unsatisfied_and_ambig_dependencies",id="cb")) public void testDependencyResolvable()
@SpecAssertion(section="declaring_selected_alternatives_application",id="ba") @SpecAssertion(section="declaring_selected_alternatives_application",id="bb") public void testAlternativeProducerSelected()
Copyright © 2008-2015 Seam Framework. All Rights Reserved.