public interface LibrariesManager
| Modifier and Type | Method and Description |
|---|---|
List<File> |
getLibrariesLocations()
Return the list of libraries loaded.
|
IO.Readable |
getResource(String path,
byte priority)
Open a resource or return null if it does not exist.
|
IAsync<LibraryManagementException> |
onLibrariesLoaded()
Return a synchronization point which is blocked until this libraries manager has been initialized
and has loaded all required libraries.
|
void |
scanLibraries(String rootPackage,
boolean includeSubPackages,
Predicate<String> packageFilter,
Predicate<String> classFilter,
Consumer<Class<?>> classScanner)
Go through each library to scan its content.
|
ApplicationClassLoader |
start(Application app)
This method is automatically called on application startup so this libraries manager
can initialize and load libraries as needed for the given application.
|
ApplicationClassLoader start(Application app)
IAsync<LibraryManagementException> onLibrariesLoaded()
IO.Readable getResource(String path, byte priority)
List<File> getLibrariesLocations()
Copyright © 2019. All rights reserved.