Class AbstractComponent

  • All Implemented Interfaces:
    JtComponent, Service

    public abstract class AbstractComponent
    extends Object
    implements JtComponent, Service
    Four type components here, it is base class of 「Tree Structure」 Component: |- Adaptor: AdaptorComponent ( database ) ---- | - Director: AbstractDirector ( database, mission ) ---- | - Connector: AbstractConnector ( database, integration ) -------- | - Actor: AbstractActor ( database, integration, mission )

    「Not Recommend」 Here we do not recommend use this component directly.

    • Field Detail

      • header

        @Contract
        protected transient io.vertx.up.commune.config.XHeader header
      • fabric

        @Contract
        protected transient io.vertx.up.commune.exchange.DiFabric fabric
    • Constructor Detail

      • AbstractComponent

        public AbstractComponent()
    • Method Detail

      • options

        public io.vertx.core.json.JsonObject options()
        Specified by:
        options in interface Service
      • identity

        public io.vertx.up.commune.config.Identity identity()
        Specified by:
        identity in interface Service
      • mapping

        public io.vertx.up.commune.exchange.BiTree mapping()
        Specified by:
        mapping in interface Service
      • rule

        public io.vertx.up.commune.rule.RuleUnique rule()
        Specified by:
        rule in interface Service
      • contract

        protected <T> void contract​(T instance)
      • fabric

        protected io.vertx.up.commune.exchange.DiFabric fabric​(io.vertx.core.json.JsonObject configured)
      • logger

        protected io.vertx.up.log.Annal logger()