org.hibernate.cfg
Class EJB3DTDEntityResolver
java.lang.Object
org.hibernate.internal.util.xml.DTDEntityResolver
org.hibernate.cfg.EJB3DTDEntityResolver
- All Implemented Interfaces:
- Serializable, EntityResolver
public class EJB3DTDEntityResolver
- extends DTDEntityResolver
Resolve JPA xsd files locally
Hibernate OGM uses this class, consider this some kind of exposed service at the SPI level
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final EntityResolver INSTANCE
EJB3DTDEntityResolver
public EJB3DTDEntityResolver()
isResolved
public boolean isResolved()
- Persistence.xml has been resolved locally
- Returns:
- true if it has
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
- Specified by:
resolveEntity
in interface EntityResolver
- Overrides:
resolveEntity
in class DTDEntityResolver
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.