Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[业务框架-插件管理] InOutManager 提供扩展点 #346

Closed
iohao opened this issue Aug 2, 2024 · 1 comment
Closed

[业务框架-插件管理] InOutManager 提供扩展点 #346

iohao opened this issue Aug 2, 2024 · 1 comment
Assignees
Labels
enhancement;功能增强 Function enhancement;功能增强 Support extension;可扩展 Support extension;可扩展

Comments

@iohao
Copy link
Owner

iohao commented Aug 2, 2024

新增功能的使用场景

将 InOutManager 接口化,开发者可以实现不同的执行策略。如

  1. in ABC,out ABC 的顺序,即编排时的顺序。
  2. in ABC,out CBA 的顺序,类似的 netty Pipeline 。

相关讨论 see #345

@iohao iohao self-assigned this Aug 2, 2024
@iohao iohao added enhancement;功能增强 Function enhancement;功能增强 Support extension;可扩展 Support extension;可扩展 future;将要提供 Features to be provided in the upcoming versions;近期版本将要提供的功能 labels Aug 2, 2024
@iohao
Copy link
Owner Author

iohao commented Aug 2, 2024

在构建器中配置 InOutManager 策略,框架内置了两个实现类,分别是

  1. ofAbcAbc :in ABC,out ABC 的顺序,即编排时的顺序。
  2. ofPipeline:in ABC,out CBA 的顺序,类似的 netty Pipeline 。(默认策略,如果不做任何设置,将使用该策略)

for example

在构建器中配置 InOutManager 策略

public void config() {
    BarSkeletonBuilder builder = ...;

    builder.setInOutManager(InOutManager.ofAbcAbc());
    builder.setInOutManager(InOutManager.ofPipeline());
}

@iohao iohao changed the title 业务框架 InOutManager 提供扩展点 [业务框架-插件管理] InOutManager 提供扩展点 Aug 2, 2024
@iohao iohao removed the future;将要提供 Features to be provided in the upcoming versions;近期版本将要提供的功能 label Aug 8, 2024
@iohao iohao closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement;功能增强 Function enhancement;功能增强 Support extension;可扩展 Support extension;可扩展
Projects
None yet
Development

No branches or pull requests

1 participant