JSR 250: Support for @PreDestroy
--------------------------------
Key: CXF-259
URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira