Skip to content

Clarify enforceInitMethod/enforceDestroyMethod default values in AbstractBeanDefinition #25402

@jhoeller

Description

@jhoeller

Following up on #25318, the javadoc for setEnforceInitMethod and setEnforceDestroyMethod is misleading since the actual default value is dependent on whether the init/destroy method name was locally specified or coming from a defaults section.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions