Examples of ProxyingWrapper


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
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.