org.kuali.rice.krad.app.persistence.jpa
Class RicePersistenceUnitPostProcessor
java.lang.Object
   org.kuali.rice.krad.app.persistence.jpa.RicePersistenceUnitPostProcessor
org.kuali.rice.krad.app.persistence.jpa.RicePersistenceUnitPostProcessor
- All Implemented Interfaces: 
- org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
- public class RicePersistenceUnitPostProcessor 
- extends Object- implements org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
KRAD_APPLICATION_PERSISTENCE_UNIT_NAME
public static final String KRAD_APPLICATION_PERSISTENCE_UNIT_NAME
- See Also:
- Constant Field Values
KRAD_SERVER_PERSISTENCE_UNIT_NAME
public static final String KRAD_SERVER_PERSISTENCE_UNIT_NAME
- See Also:
- Constant Field Values
RicePersistenceUnitPostProcessor
public RicePersistenceUnitPostProcessor()
postProcessPersistenceUnitInfo
public void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo mutablePersistenceUnitInfo)
- 
- Specified by:
- postProcessPersistenceUnitInfoin interface- org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
 
- 
 
addKRADManagedClassNames
public void addKRADManagedClassNames(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo mutablePersistenceUnitInfo)
- Adds all the KNS Managed entities to the persistence unit - which is important, becuase all
 persistence units get the KNS entities to manage
 
- 
 
- 
- Parameters:
- mutablePersistenceUnitInfo-
 
addManagedClassNames
public void addManagedClassNames(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo mutablePersistenceUnitInfo,
                                 PersistableBusinessObjectClassExposer exposer)
- Adds the class names listed by exposed by the given exposer into the persistence unit
 
- 
 
- 
- Parameters:
- mutablePersistenceUnitInfo- the persistence unit to add managed JPA entity class names to
- exposer- the exposer for class names to manage
 
addRiceManagedClassNamesToKRADPersistenceUnit
public void addRiceManagedClassNamesToKRADPersistenceUnit(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo mutablePersistenceUnitInfo)
- 
 
- 
 
getJtaDataSource
public DataSource getJtaDataSource()
- 
 
- 
 
setJtaDataSource
public void setJtaDataSource(DataSource jtaDataSource)
- 
 
- 
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.