程序包 | 说明 |
---|---|
io.github.dddplus.ext |
Extension point with multiple routing mechanism.
|
io.github.dddplus.model |
DDD patched building blocks.
|
io.github.dddplus.runtime |
Forward modeling runtime support.
|
io.github.dddplus.runtime.registry |
Internal extension points discovery/dynamic dispatching mechanism.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
IIdentityResolver<Identity extends IIdentity>
业务身份解析器(业务特征识别).
|
interface |
IPolicy<Ext extends IDomainExtension,Identity extends IIdentity>
单一扩展点的路由策略.
|
限定符和类型 | 类和说明 |
---|---|
class |
AnyIdentity
万能业务身份,可以承载任意形式的业务身份.
|
限定符和类型 | 方法和说明 |
---|---|
@NonNull List<String> |
IDecideStepsExt.decideSteps(@NonNull IIdentity identity,
@NonNull String activityCode)
已过时。
根据领域模型和领域活动码决定需要执行哪些领域步骤.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
IAggregateRoot
聚合根,Aggregate Facade,(具有全局身份,负责维护聚合内一致性).
|
interface |
IBusinessNo<T>
业务编号的统一标准.
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractBusinessNo<T>
统一定义的业务编号类.
|
class |
BaseAggregateRoot<Entity>
BaseAggregateRoot is a handy reusable
IAggregateRoot . |
限定符和类型 | 类和说明 |
---|---|
class |
BaseDecideStepsRouter<Identity extends IIdentity>
已过时。
|
class |
BaseRouter<Ext extends IDomainExtension,Identity extends IIdentity>
扩展点路由器的基础抽象类.
|
限定符和类型 | 方法和说明 |
---|---|
static <Ext extends IDomainExtension,Identity extends IIdentity> |
DDD.usePolicy(@NonNull Class<? extends IPolicy<Ext,Identity>> policy,
Identity identity)
使用
IPolicy 路由策略定位扩展点实例. |
限定符和类型 | 方法和说明 |
---|---|
static <Ext extends IDomainExtension> |
DDD.firstExtension(@NonNull Class<Ext> extClazz,
@NonNull IIdentity identity)
绕过
BaseRouter ,直接获取扩展点实例,通过IPolicy 路由. |
boolean |
BasePattern.match(@NonNull IIdentity identity) |
限定符和类型 | 方法和说明 |
---|---|
static @NonNull List<ExtensionDef> |
InternalIndexer.findEffectiveExtensions(@NonNull Class<? extends IDomainExtension> extClazz,
@NonNull IIdentity identity,
boolean firstStop)
获取某一个扩展点的所有实现实例.
|
Copyright © 2020–2023. All rights reserved.