@SpecVersion(spec="cdi",
version="20091101")
public class SpecializationModularity04Test
extends AbstractTest
Handler. Shared library 2 defines UppercaseHandler which specializes Handler
. Bean Alpha packaged in WEB-INF/classes has an injection point of type Handler. Bean Bravo packaged
in the shared library 1 has an injection point of type Handler.
Expected result: UppercaseHandler injected into Alpha and BravobeanManager| Constructor and Description |
|---|
SpecializationModularity04Test() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.EnterpriseArchive |
createTestArchive() |
void |
testSpecialization() |
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="selection",id="aa"),@SpecAssertion(section="direct_and_indirect_specialization",id="ia")})
public void testSpecialization()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.