org.fabric3.jpa.runtime.emf
Class PersistenceContextParserImpl
java.lang.Object
org.fabric3.jpa.runtime.emf.PersistenceContextParserImpl
- All Implemented Interfaces:
- PersistenceContextParser
public class PersistenceContextParserImpl
- extends Object
- implements PersistenceContextParser
- Version:
- $Rev: 11083 $ $Date: 2012-06-21 10:38:50 +0000 (Thu, 21 Jun 2012) $
|
Constructor Summary |
PersistenceContextParserImpl(org.fabric3.datasource.spi.DataSourceRegistry registry,
org.fabric3.spi.xml.XMLFactory xmlFactory)
|
|
Method Summary |
List<javax.persistence.spi.PersistenceUnitInfo> |
parse(ClassLoader classLoader)
Parses the persistence.xml file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceContextParserImpl
public PersistenceContextParserImpl(org.fabric3.datasource.spi.DataSourceRegistry registry,
org.fabric3.spi.xml.XMLFactory xmlFactory)
parse
public List<javax.persistence.spi.PersistenceUnitInfo> parse(ClassLoader classLoader)
throws PersistenceUnitException
- Description copied from interface:
PersistenceContextParser
- Parses the persistence.xml file.
- Specified by:
parse in interface PersistenceContextParser
- Parameters:
classLoader - Classloader to scan.
- Returns:
- the persistence unit information.
- Throws:
PersistenceUnitException - if an error reading the persistence unit is encountered
Copyright © 2007-2012 Metaform Systems.