Package io.vertx.tp.ambient.init
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 //
``` 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`.init: - component: io.vertx.tp.ambient.init.AtPin //- Author:
- Lang
-
-
Constructor Summary
Constructors Constructor Description AtPin()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AtConfiggetConfig()Return to reference ofAtConfiginstance.static InitgetInit()Configuration initialization phase.static InitgetLoader()Data initialization phase.static PrerequisitegetPrerequisite()Return to `Pre-` component that defined in zero extension modules.static voidinit()「Booting」This method must be defined and it will be called when zero container booting up.
-
-
-
Method Detail
-
init
public static void init()
「Booting」This method must be defined and it will be called when zero container booting up.
-
getConfig
public static AtConfig getConfig()
Return to reference ofAtConfiginstance.- Returns:
AtConfigDeserialized application configuration data.
-
getPrerequisite
public static Prerequisite getPrerequisite()
Return to `Pre-` component that defined in zero extension modules.- Returns:
Prerequisite- Throws:
_500PrerequisiteSpecException- Failure then configuration missing.
-
-