Package org.apache.myfaces.extensions.cdi.core.impl.util

Examples of org.apache.myfaces.extensions.cdi.core.impl.util.DefaultLiteral


    }

    private void resolveDefaultEntityManager()
    {
        EntityManager em = BeanManagerProvider.getInstance().
                getContextualReference(EntityManager.class, new DefaultLiteral());
        Assert.assertNotNull(em);
        EntityTransaction et = em.getTransaction();
        Assert.assertNotNull(et);
    }
View Full Code Here


        this.beanClass = beanClass;
        this.name = name;

        if (qualifiers == null) {
            this.qualifiers = Collections.<Annotation>singleton(new DefaultLiteral());

            LOGGER.debug("No qualifers provided for bean class " + beanClass + ", using singleton set of @Default");
        } else {
            this.qualifiers = new HashSet<Annotation>(qualifiers);
        }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.extensions.cdi.core.impl.util.DefaultLiteral

Copyright © 2018 www.massapicom. 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.