Top Description Methods
org.springframework.orm.jpa.persistenceunit

public Interface PersistenceUnitPostProcessor


Callback interface for post-processing a JPA PersistenceUnitInfo. Implementations can be registered with a DefaultPersistenceUnitManager or via a LocalContainerEntityManagerFactoryBean.
Author
Juergen Hoeller
Since
2.0
See Also
DefaultPersistenceUnitManager#setPersistenceUnitPostProcessors, org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean#setPersistenceUnitPostProcessors

Method Summary

Modifier and TypeMethod and Description
public void
postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo
the chosen PersistenceUnitInfo, as read from persistence.xml. Passed in as MutablePersistenceUnitInfo.
pui
)

Post-process the given PersistenceUnitInfo, for example registering further entity classes and jar files.

Method Detail

postProcessPersistenceUnitInfoback to summary
public void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui)

Post-process the given PersistenceUnitInfo, for example registering further entity classes and jar files.

Parameters
pui:MutablePersistenceUnitInfo

the chosen PersistenceUnitInfo, as read from persistence.xml. Passed in as MutablePersistenceUnitInfo.