Examples of AlternativeBean


Examples of org.apache.webbeans.newtests.concepts.alternatives.common.AlternativeBean

        Collection<Class<?>> beanClasses = new ArrayList<Class<?>>();
        beanClasses.add(AlternativeBean.class);

        startContainer(beanClasses, beanXmls, true);

        AlternativeBean alternativeBean = getInstance(AlternativeBean.class);
        Assert.assertNotNull(alternativeBean);
        Assert.assertEquals(AlternativeBean.class, alternativeBean.getImplementationType());

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.