Skip to content

Whether to consider support listenerBean like stepBean ? #151

@syzsh

Description

@syzsh
@Bean
open fun testJob(): Job = batch {
    job("testJob") {
        stepBean("stepBean1")
        listenerBean("listenerBean1") // unsupported
    }
}

以及是否可以在BatchDsl提供一个方法获取beanFactory, 让我扩展自己的dsl时使用?
当然, 我可以自己注入一个, 不过为了和现在的stepBean内部实现保持统一.
And whether it can be provided getBeanFactory method in BatchDsl, so that I can easily get the beans in spring when I define DSL?
Of course i can inject it myself, just for the sake of code style unity.

期待您的回复~
Looking forward to your reply :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions