public class OsgiClassPathLocationScanner extends Object implements ClassPathLocationScanner
The resources that this scanner returns can only be loaded if Flyway's ClassLoader has access to the bundle that contains the migrations.
| Constructor and Description |
|---|
OsgiClassPathLocationScanner() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
findResourceNames(String location,
URL locationUrl)
Finds the resource names below this location on the classpath under this locationUrl.
|
public OsgiClassPathLocationScanner()
public Set<String> findResourceNames(String location, URL locationUrl) throws IOException
ClassPathLocationScannerfindResourceNames in interface ClassPathLocationScannerlocation - The system-independent location on the classpath.locationUrl - The system-specific physical location URL.IOException - when the scanning failed.Copyright © 2017. All rights reserved.