@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class SpecializationModularity01Test
extends AbstractTest
Handler. Library 2 defines bean UppercaseHandler which specializes Handler.
Bean Alpha packaged in WEB-INF/classes has an injection point of type Handler. Bean Bravo packaged in
library 1 has an injection point of type Handler. Bean Charlie packaged in library 1 has an injection point
of type Handler.
Expected result: UppercaseHandler is injected into beans Alpha, Bravo and CharliebeanManager| Constructor and Description |
|---|
SpecializationModularity01Test() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testSpecialization() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatchesCopyright © 2008–2016 CDI TCK. All rights reserved.