public class PersistenceContextParserImpl extends java.lang.Object implements PersistenceContextParser
| Constructor and Description |
|---|
PersistenceContextParserImpl(org.fabric3.datasource.spi.DataSourceRegistry registry) |
| 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)
public java.util.List<javax.persistence.spi.PersistenceUnitInfo> parse(java.lang.ClassLoader classLoader)
throws org.fabric3.api.host.Fabric3Exception
PersistenceContextParserparse in interface PersistenceContextParserclassLoader - Classloader to scan.org.fabric3.api.host.Fabric3Exception - if an error reading the persistence unit is encountered