org.eiichiro.gig.persistence
Class PersistenceXMLProcessor
java.lang.Object
org.eiichiro.gig.persistence.PersistenceXMLProcessor
public class PersistenceXMLProcessor
- extends Object
PersistenceXMLProcessor is a persistence.xml processor
to get the information of persistence units.
- Author:
- Eiichiro Uchiumi
|
Method Summary |
List<String> |
persistenceUnits()
Returns the persistence units declared in persistence.xml
files. |
void |
process()
Parses persistence.xml files on the current ClassLoader's search path
entries and detects persistence unit declarations from them. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceXMLProcessor
public PersistenceXMLProcessor()
process
public void process()
- Parses persistence.xml files on the current ClassLoader's search path
entries and detects persistence unit declarations from them.
persistenceUnits
public List<String> persistenceUnits()
- Returns the persistence units declared in
persistence.xml
files.
- Returns:
- The persistence units declared in
persistence.xml
files.
Copyright © 2012 Eiichiro Uchiumi. All Rights Reserved.