@SpecVersion(spec="cdi",
version="20091101")
public class QualifierNotDeclaredTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
QualifierNotDeclaredTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testResolution()
|
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()
@SpecAssertions(value={@SpecAssertion(section="declaring_selected_alternatives_bean_archive",id="ba"),@SpecAssertion(section="performing_typesafe_resolution",id="lb")})
public void testResolution()
throws Exception
Baz implements Foo and has True qualifier declared. Bar is enabled alternative and
implements Foo but it has not True declared. Therefore the result of typesafe resolution for type
Foo and qualifier True is Baz bean.ExceptionCopyright © 2008-2013 Seam Framework. All Rights Reserved.