public interface ExtensionManager
| Modifier and Type | Method and Description |
|---|---|
<T> Extension<T> |
getExtension(Class<? extends T> clazz)
Get extension implemented by given class.
|
RepositoryManager |
getRepositoryManager()
Get repository manager.
|
Map<String,Object> |
getScriptableObjects()
Get list of named scriptable objects.
|
void |
registerConfigLoader(String configPath,
Consumer<io.vertx.core.json.JsonObject> consumer)
Register a consumer to load configuration files(in JSON format) based on
given path, regardless it's a directory or a file.
|
<T> Extension<T> getExtension(Class<? extends T> clazz)
T - type of the extensionclazz - implementation class of the extensionRepositoryManager getRepositoryManager()
void registerConfigLoader(String configPath, Consumer<io.vertx.core.json.JsonObject> consumer)
configPath - path to monitor, in general a relative path under
configuration pathconsumer - consumer to handle loaded configuration, regardless it's
new or changedCopyright © 2019–2021. All rights reserved.