Skip to content

CRaC Resource adapter for bean lifecycle in application context #30242

Closed
@jhoeller

Description

@jhoeller

In addition to our CRaC-oriented revisiting of the existing contracts for the bean lifecycle in an application context (#29921), we consider providing an org.crac.Resource adapter for Spring's DefaultLifecycleProcessor out of the box - e.g. as an implicit optional part of the DefaultLifecycleProcessor implementation or as a dedicated subclass of it. This allows for stopping/restarting of beans in an application context on a fine-grained basis, with some tightening of the Lifecycle contract and possibly even some dedicated extensions in SmartLifecycle that participating component implementations may rely on.

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