Skip to content

Improve @ConditionalOnEnabledEndpoint to be used on any component #12945

@snicoll

Description

@snicoll

If a component is solely used in the context of an endpoint, there is no easy way to make it available only said component is enabled. The main reason behind that is that the logic in @ConditionalOnEnabledEndpoint requires the return type to be an endpoint (or an extension).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions