Class AbstractScannerImpl

  • All Implemented Interfaces:
    Scanner
    Direct Known Subclasses:
    OsgiScanner

    public abstract class AbstractScannerImpl
    extends java.lang.Object
    implements Scanner
    • 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.
        Specified by:
        scan in interface Scanner
        Parameters:
        environment - The scan environment.
        options - The options to control the scanning.
        parameters - The parameters for scanning
      • resolveNonRootUrl

        protected java.net.URL resolveNonRootUrl​(java.net.URL url)
        Handle references from a persistence.xml file. JPA allows for to be specific
        Parameters:
        url -
        Returns:
        The resolved non-root URL