You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andrea Smyth (JIRA)" <ji...@apache.org> on 2007/02/28 17:53:57 UTC
[jira] Resolved: (CXF-259) JSR 250: Support for @PreDestroy
[ https://issues.apache.org/jira/browse/CXF-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Smyth resolved CXF-259.
------------------------------
Resolution: Fixed
> JSR 250: Support for @PreDestroy
> --------------------------------
>
> Key: CXF-259
> URL: https://issues.apache.org/jira/browse/CXF-259
> Project: CXF
> Issue Type: Task
> Components: Bus
> Reporter: Andrea Smyth
>
> Convert Jsr220BeanPosrProcessor into a DestructionAwareBeanPostProcessor that ensures the invocation of @PreDestroy annotated methods when a bean is about to be destroyed.
> Can be used for example to terminate RetransmissionQueue in RMManager - right now this needs to be done manually. IMO this is preferrable to using the proprietary BusLifeCycleManager..
> Could also use the destroy-method or default-destroy-method attributes on the bean/beans elements.
> If we want to support a non-Spring based bus, a similar mechanisms need to be implemented there also.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.