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.
| Modifier and Type | Field and Description |
|---|---|
protected io.vertx.up.commune.exchange.DictFabric |
fabric |
protected io.vertx.up.commune.config.XHeader |
header |
| Constructor and Description |
|---|
AbstractComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
contract(T instance) |
protected io.vertx.up.commune.exchange.DictFabric |
fabric(io.vertx.core.json.JsonObject configured) |
io.vertx.up.commune.config.Identity |
identity() |
protected io.vertx.up.log.Annal |
logger() |
io.vertx.up.commune.exchange.DualMapping |
mapping() |
io.vertx.core.json.JsonObject |
options() |
io.vertx.up.commune.rule.RuleUnique |
rule() |
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) |
@Contract protected transient io.vertx.up.commune.config.XHeader header
@Contract protected transient io.vertx.up.commune.exchange.DictFabric fabric
public io.vertx.up.commune.config.Identity identity()
public io.vertx.up.commune.exchange.DualMapping mapping()
public io.vertx.up.commune.rule.RuleUnique rule()
protected io.vertx.core.Future<ActOut> transferAsync(ActIn request, Function<String,io.vertx.core.Future<ActOut>> executor)
public io.vertx.core.Future<ActOut> transferAsync(ActIn actIn)
transferAsync in interface JtComponentprotected <T> void contract(T instance)
protected io.vertx.up.commune.exchange.DictFabric fabric(io.vertx.core.json.JsonObject configured)
protected io.vertx.up.log.Annal logger()
Copyright © 2021. All rights reserved.