@SpecVersion(spec="cdi",
version="1.1 Final Release")
public class QualifierNotInheritedTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
QualifierNotInheritedTest() |
| 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()
@SpecAssertion(section="declaring_selected_alternatives_bean_archive",id="ba") @SpecAssertion(section="performing_typesafe_resolution",id="lb") @SpecAssertion(section="type_level_inheritance",id="aaa")
public void testResolution()
throws Exception
Troll is enabled alternative and extends Monster, which has False qualifier that does not declare
the Inherited meta-annotation. Therefore the result of typesafe resolution for type Monster and qualifier
False is the Monster bean.ExceptionCopyright © 2008-2015 Seam Framework. All Rights Reserved.