Add JavaDoc to signal Hibrnate OGM dependencies
This commit is contained in:
parent
ba30df2f95
commit
5f3749e590
|
@ -32,6 +32,7 @@ import org.xml.sax.InputSource;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolve JPA xsd files locally
|
* Resolve JPA xsd files locally
|
||||||
|
* Hibernate OGM uses this class, consider this some kind of exposed service at the SPI level
|
||||||
*
|
*
|
||||||
* @author Emmanuel Bernard
|
* @author Emmanuel Bernard
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -33,6 +33,7 @@ import javax.persistence.spi.PersistenceUnitTransactionType;
|
||||||
* Simple represenation of persistence.xml
|
* Simple represenation of persistence.xml
|
||||||
*
|
*
|
||||||
* Object used by JBoss EJB 3 for persistence.xml parsing
|
* Object used by JBoss EJB 3 for persistence.xml parsing
|
||||||
|
* Object used by Hibernate OGM as well, consider this some kind of exposed service at the SPI level
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:bill@jboss.org">Bill Burke</a>
|
* @author <a href="mailto:bill@jboss.org">Bill Burke</a>
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -160,9 +160,10 @@ public final class PersistenceXmlLoader {
|
||||||
return deploy(url, overrides, resolver, PersistenceUnitTransactionType.JTA);
|
return deploy(url, overrides, resolver, PersistenceUnitTransactionType.JTA);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method used by JBoss EJB3 (4.2 and above) for parsing
|
* Method used by JBoss EJB3 (4.2 and above) for parsing
|
||||||
*/
|
* Object used by Hibernate OGM as well, consider this some kind of exposed service at the SPI level
|
||||||
|
*/
|
||||||
public static List<PersistenceMetadata> deploy(URL url, Map overrides, EntityResolver resolver,
|
public static List<PersistenceMetadata> deploy(URL url, Map overrides, EntityResolver resolver,
|
||||||
PersistenceUnitTransactionType defaultTransactionType) throws Exception {
|
PersistenceUnitTransactionType defaultTransactionType) throws Exception {
|
||||||
Document doc = loadURL( url, resolver );
|
Document doc = loadURL( url, resolver );
|
||||||
|
|
Loading…
Reference in New Issue