Package org.hibernate.jpa.boot.internal
Class StandardJpaScanEnvironmentImpl
java.lang.Object
org.hibernate.jpa.boot.internal.StandardJpaScanEnvironmentImpl
- All Implemented Interfaces:
ScanEnvironment
Implementation of ScanEnvironment leveraging a JPA deployment descriptor.
-
Constructor Summary
ConstructorsConstructorDescriptionStandardJpaScanEnvironmentImpl(PersistenceUnitDescriptor persistenceUnitDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionReturns any classes which are explicitly listed as part of the "persistence unit".Returns the mapping files which are explicitly listed as part of the "persistence unit".Returns any non-root URLs for scanning.Returns the root URL for scanning.
-
Constructor Details
-
StandardJpaScanEnvironmentImpl
-
-
Method Details
-
getRootUrl
Description copied from interface: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).- Specified by:
getRootUrlin interfaceScanEnvironment- Returns:
- The root URL
- See Also:
-
getNonRootUrls
Description copied from interface:ScanEnvironmentReturns any non-root URLs for scanning. Can be null/empty to indicate that no non-root URL scanning should be done.- Specified by:
getNonRootUrlsin interfaceScanEnvironment- Returns:
- The non-root URLs
- See Also:
-
getExplicitlyListedClassNames
Description copied from interface:ScanEnvironmentReturns any classes which are explicitly listed as part of the "persistence unit".- Specified by:
getExplicitlyListedClassNamesin interfaceScanEnvironment- Returns:
- The explicitly listed classes
-
getExplicitlyListedMappingFiles
Description copied from interface:ScanEnvironmentReturns the mapping files which are explicitly listed as part of the "persistence unit".- Specified by:
getExplicitlyListedMappingFilesin interfaceScanEnvironment- Returns:
- The explicitly listed mapping files.
-