public interface PersistenceUnitInfo
Modifier and Type | Method and Description |
---|---|
void |
addTransformer(ClassTransformer transformer)
Adds a class transformer.
|
boolean |
excludeUnlistedClasses()
Returns true if only listed classes are allowed.
|
java.lang.ClassLoader |
getClassLoader()
Returns the classloader the provider should use to load classes,
resources or URLs.
|
java.util.List<java.net.URL> |
getJarFileUrls()
Returns the list of jars for the managed classes.
|
javax.sql.DataSource |
getJtaDataSource()
Returns the jta-enabled data source.
|
java.util.List<java.lang.String> |
getManagedClassNames()
Returns the list of managed classes.
|
java.util.List<java.lang.String> |
getMappingFileNames()
Returns the mapping file names.
|
java.lang.ClassLoader |
getNewTempClassLoader()
Returns a temporary class loader.
|
javax.sql.DataSource |
getNonJtaDataSource()
Returns the non-jta-enabled data source.
|
java.lang.String |
getPersistenceProviderClassName()
Returns the full class name of the persistence provider.
|
java.lang.String |
getPersistenceUnitName()
Returns the name.
|
java.net.URL |
getPersistenceUnitRootUrl()
Returns the root persistence unit.
|
java.lang.String |
getPersistenceXMLSchemaVersion() |
java.util.Properties |
getProperties()
Returns a properties object.
|
SharedCacheMode |
getSharedCacheMode() |
PersistenceUnitTransactionType |
getTransactionType()
Returns the transaction handling.
|
ValidationMode |
getValidationMode() |
java.lang.String getPersistenceUnitName()
java.lang.String getPersistenceProviderClassName()
PersistenceUnitTransactionType getTransactionType()
javax.sql.DataSource getJtaDataSource()
javax.sql.DataSource getNonJtaDataSource()
java.util.List<java.lang.String> getMappingFileNames()
java.util.List<java.net.URL> getJarFileUrls()
java.net.URL getPersistenceUnitRootUrl()
java.util.List<java.lang.String> getManagedClassNames()
boolean excludeUnlistedClasses()
SharedCacheMode getSharedCacheMode()
ValidationMode getValidationMode()
java.util.Properties getProperties()
java.lang.String getPersistenceXMLSchemaVersion()
java.lang.ClassLoader getClassLoader()
void addTransformer(ClassTransformer transformer)
java.lang.ClassLoader getNewTempClassLoader()