Class OsgiClassPathLocationScanner
- java.lang.Object
-
- io.avaje.classpath.scanner.internal.scanner.classpath.OsgiClassPathLocationScanner
-
- All Implemented Interfaces:
ClassPathLocationScanner
public class OsgiClassPathLocationScanner extends Object implements ClassPathLocationScanner
OSGi specific scanner that performs the migration search in the current bundle's classpath.The resources that this scanner returns can only be loaded if Flyway's ClassLoader has access to the bundle that contains the migrations.
-
-
Constructor Summary
Constructors Constructor Description OsgiClassPathLocationScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>findResourceNames(String location, URL locationUrl)Finds the resource names below this location on the classpath under this locationUrl.
-
-
-
Constructor Detail
-
OsgiClassPathLocationScanner
public OsgiClassPathLocationScanner()
-
-
Method Detail
-
findResourceNames
public Set<String> findResourceNames(String location, URL locationUrl)
Description copied from interface:ClassPathLocationScannerFinds the resource names below this location on the classpath under this locationUrl.- Specified by:
findResourceNamesin interfaceClassPathLocationScanner- Parameters:
location- The system-independent location on the classpath.locationUrl- The system-specific physical location URL.- Returns:
- The system-independent names of the resources on the classpath.
-
-