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 2006/11/21 18:25:01 UTC

[jira] Created: (CXF-259) JSR 250: Support for @PreDestroy

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

        

[jira] Closed: (CXF-259) JSR 250: Support for @PreDestroy

Posted by "Andrea Smyth (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Smyth closed CXF-259.
----------------------------


> 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.


[jira] Resolved: (CXF-259) JSR 250: Support for @PreDestroy

Posted by "Andrea Smyth (JIRA)" <ji...@apache.org>.
     [ 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.