Package org.jboss.capedwarf.jpa

Examples of org.jboss.capedwarf.jpa.ProxyingWrapper


    private EntityManagerFactory getFactory(EMFInfo info) {
        if (emf == null) {
            synchronized (this) {
                if (emf == null) {
                    ProxyingWrapper wrapper = info.getWrapper();
                    EntityManagerFactory delegate = wrapper.lazy(info.getUnitName());
                    EntityManagerProvider provider = new CurrentEntityManagerProvider(delegate, info.getEmInjector());
                    emf = wrapper.wrap(delegate, provider);
                }
            }
        }
        return emf;
    }
View Full Code Here

TOP

Related Classes of org.jboss.capedwarf.jpa.ProxyingWrapper

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.