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 classAbstractScannerImpl.ArchiveContextImplprotected static classAbstractScannerImpl.ArchiveDescriptorInfo
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractScannerImpl(ArchiveDescriptorFactory archiveDescriptorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.net.URLresolveNonRootUrl(java.net.URL url)Handlereferences from a persistence.xml file. ScanResultscan(ScanEnvironment environment, ScanOptions options, ScanParameters parameters)Perform the scanning against the described environment using the defined options, and return the scan results.protected voidvalidateReuse(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:ScannerPerform 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)
-
-