@SpecVersion(spec="cdi",
version="20091101")
public class SpecializationModularity07Test
extends AbstractTest
Handler. WAR 1 defines UppercaseHandler which specializes Handler. WAR 2
defines LowercaseHandler which specializes Handler. Bean Alpha packaged in WAR 1 has an injection
point of type Handler. Bean Bravo packaged in WAR 2 has an injection point of type Handler.
Expected result: Inconsistent specializationbeanManager| Constructor and Description |
|---|
SpecializationModularity07Test() |
| 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@ShouldThrowException(value=javax.enterprise.inject.spi.DeploymentException.class) @Deployment public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createTestArchive()
@SpecAssertions(value=@SpecAssertion(section="inconsistent_specialization",id="a")) public void testSpecialization()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.