org.apache.cayenne.jpa.conf
Class EntityMapXMLLoader
java.lang.Object
org.apache.cayenne.jpa.conf.EntityMapXMLLoader
public class EntityMapXMLLoader
- extends Object
JpaEntityMap
loader that reads mapping information
from the XML sources compatible with the JPA ORM schema.
- Author:
- Andrus Adamchik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classLoader
protected ClassLoader classLoader
EntityMapXMLLoader
public EntityMapXMLLoader()
EntityMapXMLLoader
public EntityMapXMLLoader(ClassLoader classLoader,
boolean validateDescriptors)
getEntityMap
public JpaEntityMap getEntityMap(URL resource)
- Loads
JpaEntityMap
using provided class loader to locate the XML. Returns
null if no mapping is found.
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.