org.kuali.rice.krad.data.jpa.eclipselink
Class KradEclipseLinkEntityManagerFactoryBean

java.lang.Object
  extended by org.kuali.rice.krad.data.jpa.KradEntityManagerFactoryBean
      extended by org.kuali.rice.krad.data.jpa.eclipselink.KradEclipseLinkEntityManagerFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<javax.persistence.EntityManagerFactory>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware, org.springframework.context.weaving.LoadTimeWeaverAware, org.springframework.dao.support.PersistenceExceptionTranslator, org.springframework.orm.jpa.EntityManagerFactoryInfo

public class KradEclipseLinkEntityManagerFactoryBean
extends KradEntityManagerFactoryBean

A KRAD-managed EntityManagerFactory factory bean which can be used to configure an EclipseLink persistence unit using JPA.

This class inherits the behavior from KradEntityManagerFactoryBean but adds the following:

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
KradEclipseLinkEntityManagerFactoryBean()
           
 
Method Summary
protected  void loadCustomJpaDefaults(Map<String,String> jpaProperties)
          Allows for loading of custom JPA defaults by subclasses, default implementation does nothing so subclasses need not call super.loadCustomJpaDefaults.
 
Methods inherited from class org.kuali.rice.krad.data.jpa.KradEntityManagerFactoryBean
afterPropertiesSet, assemblePersistenceUnitPostProcessors, constructPersistenceUnitJpaPropertyPrefix, createInternalFactoryBean, createPersistenceUnitManager, destroy, getBeanClassLoader, getDataSource, getEntityManagerInterface, getInternalFactoryBean, getJpaDialect, getJpaPropertyMap, getManagedClassNames, getNativeEntityManagerFactory, getObject, getObjectType, getPersistenceProvider, getPersistenceUnitInfo, getPersistenceUnitManager, getPersistenceUnitName, getPersistenceUnitPostProcessors, isSingleton, loadGlobalJpaDefaults, loadPersistenceUnitJpaDefaults, setBeanClassLoader, setBeanFactory, setBeanName, setDataSource, setEntityManagerFactoryInterface, setEntityManagerInterface, setJpaDialect, setJpaProperties, setJpaPropertyMap, setJpaVendorAdapter, setJtaDataSource, setLoadTimeWeaver, setManagedClassNames, setMappingResources, setPackagesToScan, setPersistenceProvider, setPersistenceUnitName, setPersistenceUnitPostProcessors, setResourceLoader, translateExceptionIfPossible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KradEclipseLinkEntityManagerFactoryBean

public KradEclipseLinkEntityManagerFactoryBean()
Method Detail

loadCustomJpaDefaults

protected void loadCustomJpaDefaults(Map<String,String> jpaProperties)
Description copied from class: KradEntityManagerFactoryBean
Allows for loading of custom JPA defaults by subclasses, default implementation does nothing so subclasses need not call super.loadCustomJpaDefaults. Subclasses are free to override this method as they see fit. This method is executed after other defaults are loaded. A reference to the current Map of JPA properties is passed. Subclasses should take care if removing or overwriting any of the values which already exist in the given Map.

Overrides:
loadCustomJpaDefaults in class KradEntityManagerFactoryBean
Parameters:
jpaProperties - the current Map of JPA property defaults


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.