public class AtPin extends Object
This component could be configured in vertx-extension.yml file such as following segment:
// <pre><code class="yaml">
init:
- component: io.vertx.tp.ambient.init.AtPin
// </code></pre>
When zero container starting up, the AtPin.init() method will be called by framework.
This method will be call in zero framework booting workflow and it will do following phases:
AtConfiguration.init() to initialize the configuration data of current module.AtTodo.init() to initialize the todo environment of current module, related to X_TODO.| Constructor and Description |
|---|
AtPin() |
| Modifier and Type | Method and Description |
|---|---|
static AtConfig |
getConfig()
Return to reference of
AtConfig instance. |
static Init |
getInit()
Configuration initialization phase.
|
static Init |
getLoader()
Data initialization phase.
|
static Prerequisite |
getPrerequisite()
Return to
Pre- component that defined in zero extension modules. |
static io.vertx.core.json.JsonObject |
getTodo(String type)
Return to configuration data that convert to
JsonObject here by type. |
static void |
init()
「Booting」This method must be defined and it will be called when zero container booting up.
|
public static void init()
「Booting」This method must be defined and it will be called when zero container booting up.
public static AtConfig getConfig()
Return to reference of AtConfig instance.
AtConfig Deserialized application configuration data.public static io.vertx.core.json.JsonObject getTodo(String type)
Return to configuration data that convert to JsonObject here by type.
type - String The type value passed.JsonObjectpublic static Prerequisite getPrerequisite()
Return to Pre- component that defined in zero extension modules.
Prerequisite_500PrerequisiteSpecException - Failure then configuration missing.Copyright © 2021. All rights reserved.