Package io.vertx.tp.ambient.init
Class AtPin
java.lang.Object
io.vertx.tp.ambient.init.AtPin
## 「Init」AtPin
### 1. Intro
This component could be configured in `vertx-extension.yml` file such as following segment:
```yaml
//
init:
- component: io.vertx.tp.ambient.init.AtPin
//
```
When zero container starting up, the `AtPin.init()` method will be called by framework.
#### 1.1. init()
This method will be call in zero framework booting workflow and it will do following phases:
- Call `AtConfiguration.init()` to initialize the configuration data of current module.
- Call `AtTodo.init()` to initialize the `todo` environment of current module, related to `X_TODO`.- Author:
- Lang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtConfigReturn to reference ofAtConfiginstance.static InitgetInit()Configuration initialization phase.static InitData initialization phase.static PrerequisiteReturn to `Pre-` component that defined in zero extension modules.static io.vertx.core.Future<Boolean>init(io.vertx.core.Vertx vertx) 「Booting」This method must be defined and it will be called when zero container booting up.
-
Constructor Details
-
AtPin
public AtPin()
-
-
Method Details
-
init
「Booting」This method must be defined and it will be called when zero container booting up. -
getConfig
Return to reference ofAtConfiginstance.- Returns:
AtConfigDeserialized application configuration data.
-
getInit
Configuration initialization phase.- Returns:
Init
-
getLoader
Data initialization phase.- Returns:
Init
-
getPrerequisite
Return to `Pre-` component that defined in zero extension modules.- Returns:
Prerequisite- Throws:
_500PrerequisiteSpecException- Failure then configuration missing.
-