fr.paris.lutece.util.jpa
Class JPAPersistenceUnitPostProcessor

java.lang.Object
  extended by fr.paris.lutece.util.jpa.JPAPersistenceUnitPostProcessor
All Implemented Interfaces:
org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor

public class JPAPersistenceUnitPostProcessor
extends Object
implements org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor

JPAPersistenceUnitPostProcessor : adds classpath entities to the PersistenceUnitInfo and finds *.orm.xml.


Constructor Summary
JPAPersistenceUnitPostProcessor()
           
 
Method Summary
 void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
          Scans for *.orm.xml and adds Entites from classpath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPAPersistenceUnitPostProcessor

public JPAPersistenceUnitPostProcessor()
Method Detail

postProcessPersistenceUnitInfo

public void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
Scans for *.orm.xml and adds Entites from classpath.

Specified by:
postProcessPersistenceUnitInfo in interface org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
Parameters:
pui - the pui


Copyright © 2014 Mairie de Paris. All Rights Reserved.