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:ScanEnvironment
Returns 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:
getRootUrl
in interfaceScanEnvironment
- Returns:
- The root URL
- See Also:
-
getNonRootUrls
Description copied from interface:ScanEnvironment
Returns any non-root URLs for scanning. Can be null/empty to indicate that no non-root URL scanning should be done.- Specified by:
getNonRootUrls
in interfaceScanEnvironment
- Returns:
- The non-root URLs
- See Also:
-
getExplicitlyListedClassNames
Description copied from interface:ScanEnvironment
Returns any classes which are explicitly listed as part of the "persistence unit".- Specified by:
getExplicitlyListedClassNames
in interfaceScanEnvironment
- Returns:
- The explicitly listed classes
-
getExplicitlyListedMappingFiles
Description copied from interface:ScanEnvironment
Returns the mapping files which are explicitly listed as part of the "persistence unit".- Specified by:
getExplicitlyListedMappingFiles
in interfaceScanEnvironment
- Returns:
- The explicitly listed mapping files.
-