Skip to content

Make built-in RetryPolicy implementations final #35040

Closed
@sbrannen

Description

@sbrannen

The built-in RetryPolicy implementations are currently not declared as final, which makes it technically possible to extend them.

However, they are not actually designed to be extensible.

  1. Their fields are private and do not have accessor methods.
  2. Their RetryExecution implementations are also private, which prevents reuse.

In light of the above, we should make all built-in RetryPolicy implementations final.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions