org.hibernate.ejb.packaging
Class PersistenceXmlLoader

java.lang.Object
  extended by org.hibernate.ejb.packaging.PersistenceXmlLoader

public final class PersistenceXmlLoader
extends Object

Persistence.xml handler

Author:
Bill Burke, Emmanuel Bernard

Nested Class Summary
static class PersistenceXmlLoader.ErrorLogger
           
 
Method Summary
static List<PersistenceMetadata> deploy(URL url, Map overrides, EntityResolver resolver)
           
static javax.persistence.spi.PersistenceUnitTransactionType getTransactionType(String elementContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

deploy

public static List<PersistenceMetadata> deploy(URL url,
                                               Map overrides,
                                               EntityResolver resolver)
                                        throws Exception
Throws:
Exception

getTransactionType

public static javax.persistence.spi.PersistenceUnitTransactionType getTransactionType(String elementContent)