public class JaxbPersistenceFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JaxbPersistenceFactory.PersistenceFilter |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PERSISTENCE_SCHEMA |
Constructor and Description |
---|
JaxbPersistenceFactory() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getPersistence(java.lang.Class<T> clazz,
java.io.InputStream persistenceDescriptor) |
static <T> T |
getPersistence(java.lang.Class<T> clazz,
java.net.URL url) |
public static final java.lang.String PERSISTENCE_SCHEMA
public static <T> T getPersistence(java.lang.Class<T> clazz, java.io.InputStream persistenceDescriptor) throws java.lang.Exception
java.lang.Exception
public static <T> T getPersistence(java.lang.Class<T> clazz, java.net.URL url) throws java.lang.Exception
java.lang.Exception