Package io.vertx.tp.jet.uca.business
Class AbstractComponent
- java.lang.Object
-
- io.vertx.tp.jet.uca.business.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.
-
-
Constructor Summary
Constructors Constructor Description AbstractComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> voidcontract(T instance)protected io.vertx.up.commune.exchange.DiFabricfabric(io.vertx.core.json.JsonObject configured)io.vertx.up.commune.config.Identityidentity()protected io.vertx.up.log.Annallogger()io.vertx.up.commune.exchange.BiTreemapping()io.vertx.core.json.JsonObjectoptions()io.vertx.up.commune.rule.RuleUniquerule()io.vertx.core.Future<ActOut>transferAsync(ActIn actIn)protected io.vertx.core.Future<ActOut>transferAsync(ActIn request, Function<String,io.vertx.core.Future<ActOut>> executor)
-
-
-
Method Detail
-
identity
public io.vertx.up.commune.config.Identity identity()
-
mapping
public io.vertx.up.commune.exchange.BiTree mapping()
-
transferAsync
protected io.vertx.core.Future<ActOut> transferAsync(ActIn request, Function<String,io.vertx.core.Future<ActOut>> executor)
-
transferAsync
public io.vertx.core.Future<ActOut> transferAsync(ActIn actIn)
- Specified by:
transferAsyncin interfaceJtComponent
-
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()
-
-