Class AbstractScannerImpl
- java.lang.Object
-
- org.hibernate.boot.archive.scan.spi.AbstractScannerImpl
-
- All Implemented Interfaces:
Scanner
- Direct Known Subclasses:
OsgiScanner
public abstract class AbstractScannerImpl extends java.lang.Object implements Scanner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractScannerImpl.ArchiveContextImpl
protected static class
AbstractScannerImpl.ArchiveDescriptorInfo
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractScannerImpl(ArchiveDescriptorFactory archiveDescriptorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.net.URL
resolveNonRootUrl(java.net.URL url)
Handlereferences from a persistence.xml file. ScanResult
scan(ScanEnvironment environment, ScanOptions options, ScanParameters parameters)
Perform the scanning against the described environment using the defined options, and return the scan results.protected void
validateReuse(AbstractScannerImpl.ArchiveDescriptorInfo descriptor, boolean root)
-
-
-
Constructor Detail
-
AbstractScannerImpl
protected AbstractScannerImpl(ArchiveDescriptorFactory archiveDescriptorFactory)
-
-
Method Detail
-
scan
public ScanResult scan(ScanEnvironment environment, ScanOptions options, ScanParameters parameters)
Description copied from interface:Scanner
Perform the scanning against the described environment using the defined options, and return the scan results.
-
resolveNonRootUrl
protected java.net.URL resolveNonRootUrl(java.net.URL url)
Handlereferences from a persistence.xml file. JPA allows for to be specific - Parameters:
url
-- Returns:
- The resolved non-root URL
-
validateReuse
protected void validateReuse(AbstractScannerImpl.ArchiveDescriptorInfo descriptor, boolean root)
-
-