Class AtPin

java.lang.Object
io.vertx.tp.ambient.init.AtPin

public class AtPin extends Object
## 「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 Details

    • AtPin

      public AtPin()
  • Method Details

    • init

      public 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.
    • getConfig

      public static AtConfig getConfig()
      Return to reference of AtConfig instance.
      Returns:
      AtConfig Deserialized application configuration data.
    • getInit

      public static Init getInit()
      Configuration initialization phase.
      Returns:
      Init
    • getLoader

      public static Init getLoader()
      Data initialization phase.
      Returns:
      Init
    • getPrerequisite

      public static Prerequisite getPrerequisite()
      Return to `Pre-` component that defined in zero extension modules.
      Returns:
      Prerequisite
      Throws:
      _500PrerequisiteSpecException - Failure then configuration missing.