Fabric3 JPA/Hibernate Extension

org.fabric3.jpa.runtime.emf
Interface PersistenceContextParser

All Known Implementing Classes:
PersistenceContextParserImpl

public interface PersistenceContextParser

Parses a persistence.xml file located at /META-INF/persistence.xml for a provided classloader.

Version:
$Rev: 11083 $ $Date: 2012-06-21 10:38:50 +0000 (Thu, 21 Jun 2012) $

Method Summary
 List<javax.persistence.spi.PersistenceUnitInfo> parse(ClassLoader classLoader)
          Parses the persistence.xml file.
 

Method Detail

parse

List<javax.persistence.spi.PersistenceUnitInfo> parse(ClassLoader classLoader)
                                                      throws PersistenceUnitException
Parses the persistence.xml file.

Parameters:
classLoader - Classloader to scan.
Returns:
the persistence unit information.
Throws:
PersistenceUnitException - if an error reading the persistence unit is encountered

Fabric3 JPA/Hibernate Extension

Copyright © 2007-2012 Metaform Systems.