org.kuali.student.common.util.spring
Class MergingPersistenceUnitManager

java.lang.Object
  extended by org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
      extended by org.kuali.student.common.util.spring.MergingPersistenceUnitManager
All Implemented Interfaces:
InitializingBean, ResourceLoaderAware, LoadTimeWeaverAware, PersistenceUnitManager

public class MergingPersistenceUnitManager
extends DefaultPersistenceUnitManager


Field Summary
private  String mergedPersistenceUnitName
           
private  PersistenceUnitTransactionType transactionTypeOverride
           
 
Fields inherited from class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
DEFAULT_PERSISTENCE_XML_LOCATION, ORIGINAL_DEFAULT_PERSISTENCE_UNIT_ROOT_LOCATION
 
Constructor Summary
MergingPersistenceUnitManager()
           
 
Method Summary
protected  void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui)
           
 void setMergedPersistenceUnitName(String mergedPersistenceUnitName)
           
 void setTransactionTypeOverride(PersistenceUnitTransactionType transactionTypeOverride)
           
 
Methods inherited from class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
afterPropertiesSet, getDataSourceLookup, getDefaultDataSource, getLoadTimeWeaver, getPersistenceUnitInfo, getPersistenceUnitPostProcessors, obtainDefaultPersistenceUnitInfo, obtainPersistenceUnitInfo, preparePersistenceUnitInfos, setDataSourceLookup, setDataSources, setDefaultDataSource, setDefaultPersistenceUnitRootLocation, setLoadTimeWeaver, setPersistenceUnitPostProcessors, setPersistenceXmlLocation, setPersistenceXmlLocations, setResourceLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mergedPersistenceUnitName

private String mergedPersistenceUnitName

transactionTypeOverride

private PersistenceUnitTransactionType transactionTypeOverride
Constructor Detail

MergingPersistenceUnitManager

public MergingPersistenceUnitManager()
Method Detail

setMergedPersistenceUnitName

public void setMergedPersistenceUnitName(String mergedPersistenceUnitName)

postProcessPersistenceUnitInfo

protected void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui)
Overrides:
postProcessPersistenceUnitInfo in class DefaultPersistenceUnitManager

setTransactionTypeOverride

public void setTransactionTypeOverride(PersistenceUnitTransactionType transactionTypeOverride)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.