public class JdbcBridgeVerticle extends io.vertx.core.AbstractVerticle implements ExtensionManager
| Constructor and Description |
|---|
JdbcBridgeVerticle() |
| 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.
|
static void |
main(String[] args) |
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.
|
void |
start() |
config, deploymentID, getVertx, init, processArgs, start, stop, stoppublic void start()
start in class io.vertx.core.AbstractVerticlepublic <T> Extension<T> getExtension(Class<? extends T> clazz)
ExtensionManagergetExtension in interface ExtensionManagerT - type of the extensionclazz - implementation class of the extensionpublic RepositoryManager getRepositoryManager()
ExtensionManagergetRepositoryManager in interface ExtensionManagerpublic void registerConfigLoader(String configPath, Consumer<io.vertx.core.json.JsonObject> consumer)
ExtensionManagerregisterConfigLoader in interface ExtensionManagerconfigPath - path to monitor, in general a relative path under
configuration pathconsumer - consumer to handle loaded configuration, regardless it's
new or changedpublic Map<String,Object> getScriptableObjects()
ExtensionManagergetScriptableObjects in interface ExtensionManagerpublic static void main(String[] args)
Copyright © 2019–2021. All rights reserved.