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 java.lang.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


Copyright © 2011 Mairie de Paris. All Rights Reserved.