public class PersistenceUnitInfoImpl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PersistenceUnitInfoImpl.PersistenceClassFileTransformer |
Constructor and Description |
---|
PersistenceUnitInfoImpl() |
PersistenceUnitInfoImpl(PersistenceClassLoaderHandler persistenceClassLoaderHandler) |
Modifier and Type | Method and Description |
---|---|
void |
addManagedClassName(java.lang.String className) |
void |
addMappingFileName(java.lang.String mappingFileName) |
void |
addTransformer(ClassTransformer classTransformer) |
boolean |
excludeUnlistedClasses() |
java.lang.ClassLoader |
getClassLoader() |
java.lang.String |
getId() |
java.util.List<java.net.URL> |
getJarFileUrls() |
javax.sql.DataSource |
getJtaDataSource() |
java.lang.String |
getJtaDataSourceName() |
java.util.List<java.lang.String> |
getManagedClassNames() |
java.util.List<java.lang.String> |
getMappingFileNames() |
java.lang.ClassLoader |
getNewTempClassLoader() |
javax.sql.DataSource |
getNonJtaDataSource() |
java.lang.String |
getNonJtaDataSourceName() |
java.lang.String |
getPersistenceProviderClassName() |
java.lang.String |
getPersistenceUnitName() |
java.net.URL |
getPersistenceUnitRootUrl() |
java.lang.String |
getPersistenceXMLSchemaVersion() |
java.util.Properties |
getProperties() |
SharedCacheMode |
getSharedCacheMode() |
PersistenceUnitTransactionType |
getTransactionType() |
ValidationMode |
getValidationMode() |
boolean |
isLazilyInitialized() |
static boolean |
isServerClass(java.lang.String input) |
void |
setClassLoader(java.lang.ClassLoader classLoader) |
void |
setExcludeUnlistedClasses(boolean excludeUnlistedClasses) |
void |
setId(java.lang.String id) |
void |
setJtaDataSource(javax.sql.CommonDataSource jtaDataSource) |
void |
setJtaDataSourceName(java.lang.String jtaDataSourceName) |
void |
setLazilyInitialized(boolean lazilyInitialized) |
void |
setManagedClassNames(java.util.List<java.lang.String> managedClassNames) |
void |
setMappingFileNames(java.util.List<java.lang.String> mappingFileNames) |
void |
setNonJtaDataSource(javax.sql.CommonDataSource nonJtaDataSource) |
void |
setNonJtaDataSourceName(java.lang.String nonJtaDataSourceName) |
void |
setPersistenceProviderClassName(java.lang.String persistenceProviderClassName) |
void |
setPersistenceUnitName(java.lang.String persistenceUnitName) |
void |
setPersistenceXMLSchemaVersion(java.lang.String persistenceXMLSchemaVersion) |
void |
setProperties(java.util.Properties properties) |
void |
setRootUrlAndJarUrls(java.lang.String persistenceUnitRootUrl,
java.util.List<java.lang.String> jarFiles) |
void |
setSharedCacheMode(SharedCacheMode sharedCacheMode) |
void |
setTransactionType(PersistenceUnitTransactionType transactionType) |
void |
setValidationMode(ValidationMode validationMode) |
public PersistenceUnitInfoImpl()
public PersistenceUnitInfoImpl(PersistenceClassLoaderHandler persistenceClassLoaderHandler)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getPersistenceUnitName()
public void setPersistenceUnitName(java.lang.String persistenceUnitName)
public java.lang.String getPersistenceProviderClassName()
public void setPersistenceProviderClassName(java.lang.String persistenceProviderClassName)
public PersistenceUnitTransactionType getTransactionType()
public void setTransactionType(PersistenceUnitTransactionType transactionType)
public javax.sql.DataSource getJtaDataSource()
public void setJtaDataSource(javax.sql.CommonDataSource jtaDataSource)
public javax.sql.DataSource getNonJtaDataSource()
public void setNonJtaDataSource(javax.sql.CommonDataSource nonJtaDataSource)
public java.util.List<java.lang.String> getMappingFileNames()
public void setMappingFileNames(java.util.List<java.lang.String> mappingFileNames)
public void addMappingFileName(java.lang.String mappingFileName)
public java.util.List<java.net.URL> getJarFileUrls()
public java.net.URL getPersistenceUnitRootUrl()
public void setRootUrlAndJarUrls(java.lang.String persistenceUnitRootUrl, java.util.List<java.lang.String> jarFiles) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.util.List<java.lang.String> getManagedClassNames()
public void setManagedClassNames(java.util.List<java.lang.String> managedClassNames)
public void addManagedClassName(java.lang.String className)
public boolean excludeUnlistedClasses()
public void setExcludeUnlistedClasses(boolean excludeUnlistedClasses)
public java.util.Properties getProperties()
public void setProperties(java.util.Properties properties)
public java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
public void addTransformer(ClassTransformer classTransformer)
public java.lang.ClassLoader getNewTempClassLoader()
public boolean isLazilyInitialized()
public void setLazilyInitialized(boolean lazilyInitialized)
public static boolean isServerClass(java.lang.String input)
public java.lang.String getPersistenceXMLSchemaVersion()
public void setPersistenceXMLSchemaVersion(java.lang.String persistenceXMLSchemaVersion)
persistenceXMLSchemaVersion
- the persistenceXMLSchemaVersion to setpublic SharedCacheMode getSharedCacheMode()
public void setSharedCacheMode(SharedCacheMode sharedCacheMode)
sharedCacheMode
- the sharedCacheMode to setpublic ValidationMode getValidationMode()
public void setValidationMode(ValidationMode validationMode)
validationMode
- the validationMode to setpublic java.lang.String getJtaDataSourceName()
public void setJtaDataSourceName(java.lang.String jtaDataSourceName)
public java.lang.String getNonJtaDataSourceName()
public void setNonJtaDataSourceName(java.lang.String nonJtaDataSourceName)