Skip to content

Treat start/stop Lifecycle of beans like the init/destroy events [SPR-2326] #7015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Jul 19, 2006 · 1 comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link
Collaborator

Michael Kanaley opened SPR-2326 and commented

Spring 2.0 now supports ApplicationContexts implementing the Lifecycle interface. I would like to see the start/stop functionality treated identically to that of init/destroy in the following way:

  • sending of an ApplicationEvent after start and before stop
    Currently init and destroy of ApplicationContexts send events as well. I would like to see this for start/stop too.

Affects: 2.0 RC2

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jan 20, 2007

Rick Evans commented

Copied issue comment into #7014, closing as duplicate now.

@spring-projects-issues spring-projects-issues added type: enhancement A general enhancement in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue labels Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant