类 PersistenceUnitInfoDescriptor
- java.lang.Object
-
- org.hibernate.jpa.boot.internal.PersistenceUnitInfoDescriptor
-
- 所有已实现的接口:
PersistenceUnitDescriptor
public class PersistenceUnitInfoDescriptor extends Object implements PersistenceUnitDescriptor
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 PersistenceUnitInfoDescriptor(javax.persistence.spi.PersistenceUnitInfo persistenceUnitInfo)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ClassLoadergetClassLoader()List<URL>getJarFileUrls()ObjectgetJtaDataSource()List<String>getManagedClassNames()List<String>getMappingFileNames()StringgetName()Get the persistence unit name,ObjectgetNonJtaDataSource()URLgetPersistenceUnitRootUrl()Get the root url for the persistence unit.PropertiesgetProperties()StringgetProviderClassName()Get the explicitly specified provider class name, ornullif not specified.javax.persistence.SharedCacheModegetSharedCacheMode()ClassLoadergetTempClassLoader()javax.persistence.spi.PersistenceUnitTransactionTypegetTransactionType()javax.persistence.ValidationModegetValidationMode()booleanisExcludeUnlistedClasses()Essentially should scanning for classes be performed?booleanisUseQuotedIdentifiers()Is the use of quoted identifiers in effect for this whole persistence unit?voidpushClassTransformer(EnhancementContext enhancementContext)
-
-
-
方法详细资料
-
getPersistenceUnitRootUrl
public URL getPersistenceUnitRootUrl()
从接口复制的说明:PersistenceUnitDescriptorGet the root url for the persistence unit. Intended to describe the base for scanning.- 指定者:
getPersistenceUnitRootUrl在接口中PersistenceUnitDescriptor- 返回:
- The root url
-
getName
public String getName()
从接口复制的说明:PersistenceUnitDescriptorGet the persistence unit name,- 指定者:
getName在接口中PersistenceUnitDescriptor- 返回:
- The persistence unit name,
-
getNonJtaDataSource
public Object getNonJtaDataSource()
- 指定者:
getNonJtaDataSource在接口中PersistenceUnitDescriptor
-
getJtaDataSource
public Object getJtaDataSource()
- 指定者:
getJtaDataSource在接口中PersistenceUnitDescriptor
-
getProviderClassName
public String getProviderClassName()
从接口复制的说明:PersistenceUnitDescriptorGet the explicitly specified provider class name, ornullif not specified.- 指定者:
getProviderClassName在接口中PersistenceUnitDescriptor- 返回:
- The specified provider class name
-
getTransactionType
public javax.persistence.spi.PersistenceUnitTransactionType getTransactionType()
- 指定者:
getTransactionType在接口中PersistenceUnitDescriptor
-
isUseQuotedIdentifiers
public boolean isUseQuotedIdentifiers()
从接口复制的说明:PersistenceUnitDescriptorIs the use of quoted identifiers in effect for this whole persistence unit?- 指定者:
isUseQuotedIdentifiers在接口中PersistenceUnitDescriptor- 返回:
trueis quoted identifiers should be used throughout the unit.
-
getProperties
public Properties getProperties()
- 指定者:
getProperties在接口中PersistenceUnitDescriptor
-
getClassLoader
public ClassLoader getClassLoader()
- 指定者:
getClassLoader在接口中PersistenceUnitDescriptor
-
getTempClassLoader
public ClassLoader getTempClassLoader()
- 指定者:
getTempClassLoader在接口中PersistenceUnitDescriptor
-
isExcludeUnlistedClasses
public boolean isExcludeUnlistedClasses()
从接口复制的说明:PersistenceUnitDescriptorEssentially should scanning for classes be performed? If not, the list of classes available is limited to:- classes listed in
PersistenceUnitDescriptor.getManagedClassNames() - classes named in all
PersistenceUnitDescriptor.getMappingFileNames() - classes discovered in
PersistenceUnitDescriptor.getJarFileUrls()
- 指定者:
isExcludeUnlistedClasses在接口中PersistenceUnitDescriptor- 返回:
trueif the root url should not be scanned for classes.
- classes listed in
-
getValidationMode
public javax.persistence.ValidationMode getValidationMode()
- 指定者:
getValidationMode在接口中PersistenceUnitDescriptor
-
getSharedCacheMode
public javax.persistence.SharedCacheMode getSharedCacheMode()
- 指定者:
getSharedCacheMode在接口中PersistenceUnitDescriptor
-
getMappingFileNames
public List<String> getMappingFileNames()
- 指定者:
getMappingFileNames在接口中PersistenceUnitDescriptor
-
getJarFileUrls
public List<URL> getJarFileUrls()
- 指定者:
getJarFileUrls在接口中PersistenceUnitDescriptor
-
pushClassTransformer
public void pushClassTransformer(EnhancementContext enhancementContext)
-
-