public class PersistenceUnitInfoImpl
extends java.lang.Object
implements javax.persistence.spi.PersistenceUnitInfo
Constructor and Description |
---|
PersistenceUnitInfoImpl(java.lang.String persistenceUnitName,
java.util.List<java.lang.Class> managedClasses,
java.util.List<java.lang.String> mappingFileNames,
java.util.Properties properties) |
Modifier and Type | Method and Description |
---|---|
void |
addTransformer(javax.persistence.spi.ClassTransformer transformer) |
boolean |
excludeUnlistedClasses() |
java.lang.ClassLoader |
getClassLoader() |
java.util.List<java.net.URL> |
getJarFileUrls() |
javax.sql.DataSource |
getJtaDataSource() |
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 |
getPersistenceProviderClassName() |
java.lang.String |
getPersistenceUnitName() |
java.net.URL |
getPersistenceUnitRootUrl() |
java.lang.String |
getPersistenceXMLSchemaVersion() |
java.util.Properties |
getProperties() |
javax.persistence.SharedCacheMode |
getSharedCacheMode() |
javax.persistence.spi.PersistenceUnitTransactionType |
getTransactionType() |
javax.persistence.ValidationMode |
getValidationMode() |
PersistenceUnitInfoImpl |
setJtaDataSource(javax.sql.DataSource jtaDataSource) |
PersistenceUnitInfoImpl |
setNonJtaDataSource(javax.sql.DataSource nonJtaDataSource) |
public PersistenceUnitInfoImpl(java.lang.String persistenceUnitName, java.util.List<java.lang.Class> managedClasses, java.util.List<java.lang.String> mappingFileNames, java.util.Properties properties)
public java.lang.String getPersistenceUnitName()
getPersistenceUnitName
in interface javax.persistence.spi.PersistenceUnitInfo
public java.lang.String getPersistenceProviderClassName()
getPersistenceProviderClassName
in interface javax.persistence.spi.PersistenceUnitInfo
public javax.persistence.spi.PersistenceUnitTransactionType getTransactionType()
getTransactionType
in interface javax.persistence.spi.PersistenceUnitInfo
public javax.sql.DataSource getJtaDataSource()
getJtaDataSource
in interface javax.persistence.spi.PersistenceUnitInfo
public PersistenceUnitInfoImpl setJtaDataSource(javax.sql.DataSource jtaDataSource)
public javax.sql.DataSource getNonJtaDataSource()
getNonJtaDataSource
in interface javax.persistence.spi.PersistenceUnitInfo
public PersistenceUnitInfoImpl setNonJtaDataSource(javax.sql.DataSource nonJtaDataSource)
public java.util.List<java.lang.String> getMappingFileNames()
getMappingFileNames
in interface javax.persistence.spi.PersistenceUnitInfo
public java.util.List<java.net.URL> getJarFileUrls()
getJarFileUrls
in interface javax.persistence.spi.PersistenceUnitInfo
public java.net.URL getPersistenceUnitRootUrl()
getPersistenceUnitRootUrl
in interface javax.persistence.spi.PersistenceUnitInfo
public java.util.List<java.lang.String> getManagedClassNames()
getManagedClassNames
in interface javax.persistence.spi.PersistenceUnitInfo
public boolean excludeUnlistedClasses()
excludeUnlistedClasses
in interface javax.persistence.spi.PersistenceUnitInfo
public javax.persistence.SharedCacheMode getSharedCacheMode()
getSharedCacheMode
in interface javax.persistence.spi.PersistenceUnitInfo
public javax.persistence.ValidationMode getValidationMode()
getValidationMode
in interface javax.persistence.spi.PersistenceUnitInfo
public java.util.Properties getProperties()
getProperties
in interface javax.persistence.spi.PersistenceUnitInfo
public java.lang.String getPersistenceXMLSchemaVersion()
getPersistenceXMLSchemaVersion
in interface javax.persistence.spi.PersistenceUnitInfo
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface javax.persistence.spi.PersistenceUnitInfo
public void addTransformer(javax.persistence.spi.ClassTransformer transformer)
addTransformer
in interface javax.persistence.spi.PersistenceUnitInfo
public java.lang.ClassLoader getNewTempClassLoader()
getNewTempClassLoader
in interface javax.persistence.spi.PersistenceUnitInfo
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly