站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

PersistenceUnitPostProcessor (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.orm.jpa.persistenceunit
Interface PersistenceUnitPostProcessor


public interface PersistenceUnitPostProcessor

Callback interface for post-processing a JPA PersistenceUnitInfo. Implementations can be registered with a DefaultPersistenceUnitManager or via a LocalContainerEntityManagerFactoryBean.

Since:
2.0
Author:
Juergen Hoeller
See Also:
DefaultPersistenceUnitManager.setPersistenceUnitPostProcessors(org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor[]), LocalContainerEntityManagerFactoryBean.setPersistenceUnitPostProcessors(org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor[])

Method Summary
 void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui)
          Post-process the given PersistenceUnitInfo, for example registering further entity classes and jar files.
 

Method Detail

postProcessPersistenceUnitInfo

void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui)
Post-process the given PersistenceUnitInfo, for example registering further entity classes and jar files.

Parameters:
pui - the chosen PersistenceUnitInfo, as read from persistence.xml. Passed in as MutablePersistenceUnitInfo.

The Spring Framework

Copyright © 2002-2007 The Spring Framework.