Package org.apache.openjpa.lib.conf

Examples of org.apache.openjpa.lib.conf.PluginValue.instantiate()


    public static OpenJPAEntityManagerFactory newFactory(BrokerFactory bf) {
        OpenJPAConfiguration conf = bf.getConfiguration();
        PluginValue val = (PluginValue) conf.getValue(KEY);
        if (val == null)
            return null;
        EntityManagerFactoryImpl emf = (EntityManagerFactoryImpl) val.
            instantiate(EntityManagerFactoryImpl.class, conf, true);
        emf.setBrokerFactory(bf);
        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.