public class PersistenceContextParserImpl extends java.lang.Object implements PersistenceContextParser
| Constructor and Description |
|---|
PersistenceContextParserImpl(org.fabric3.datasource.spi.DataSourceRegistry registry,
org.fabric3.spi.xml.XMLFactory xmlFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<javax.persistence.spi.PersistenceUnitInfo> |
parse(java.lang.ClassLoader classLoader)
Parses the persistence.xml file.
|
public PersistenceContextParserImpl(org.fabric3.datasource.spi.DataSourceRegistry registry,
org.fabric3.spi.xml.XMLFactory xmlFactory)
public java.util.List<javax.persistence.spi.PersistenceUnitInfo> parse(java.lang.ClassLoader classLoader)
throws PersistenceUnitException
PersistenceContextParserparse in interface PersistenceContextParserclassLoader - Classloader to scan.PersistenceUnitException - if an error reading the persistence unit is encountered