CRaC Resource adapter for bean lifecycle in application context #30242
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
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'sDefaultLifecycleProcessor
out of the box - e.g. as an implicit optional part of theDefaultLifecycleProcessor
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 theLifecycle
contract and possibly even some dedicated extensions inSmartLifecycle
that participating component implementations may rely on.The text was updated successfully, but these errors were encountered: