类 StandardJpaScanEnvironmentImpl
- java.lang.Object
-
- org.hibernate.jpa.boot.internal.StandardJpaScanEnvironmentImpl
-
- 所有已实现的接口:
ScanEnvironment
public class StandardJpaScanEnvironmentImpl extends Object implements ScanEnvironment
Implementation of ScanEnvironment leveraging a JPA deployment descriptor.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 StandardJpaScanEnvironmentImpl(PersistenceUnitDescriptor persistenceUnitDescriptor)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<String>getExplicitlyListedClassNames()Returns any classes which are explicitly listed as part of the "persistence unit".List<String>getExplicitlyListedMappingFiles()Returns the mapping files which are explicitly listed as part of the "persistence unit".List<URL>getNonRootUrls()Returns any non-root URLs for scanning.URLgetRootUrl()Returns the root URL for scanning.
-
-
-
构造器详细资料
-
StandardJpaScanEnvironmentImpl
public StandardJpaScanEnvironmentImpl(PersistenceUnitDescriptor persistenceUnitDescriptor)
-
-
方法详细资料
-
getRootUrl
public URL getRootUrl()
从接口复制的说明:ScanEnvironmentReturns the root URL for scanning. Can benull, indicating that no root URL scanning should be done (aka, if maybe a root URL is not known).- 指定者:
getRootUrl在接口中ScanEnvironment- 返回:
- The root URL
- 另请参阅:
ScanOptions.canDetectUnlistedClassesInRoot()
-
getNonRootUrls
public List<URL> getNonRootUrls()
从接口复制的说明:ScanEnvironmentReturns any non-root URLs for scanning. Can be null/empty to indicate that no non-root URL scanning should be done.- 指定者:
getNonRootUrls在接口中ScanEnvironment- 返回:
- The non-root URLs
- 另请参阅:
ScanOptions.canDetectUnlistedClassesInNonRoot()
-
getExplicitlyListedClassNames
public List<String> getExplicitlyListedClassNames()
从接口复制的说明:ScanEnvironmentReturns any classes which are explicitly listed as part of the "persistence unit".- 指定者:
getExplicitlyListedClassNames在接口中ScanEnvironment- 返回:
- The explicitly listed classes
-
getExplicitlyListedMappingFiles
public List<String> getExplicitlyListedMappingFiles()
从接口复制的说明:ScanEnvironmentReturns the mapping files which are explicitly listed as part of the "persistence unit".- 指定者:
getExplicitlyListedMappingFiles在接口中ScanEnvironment- 返回:
- The explicitly listed mapping files.
-
-