You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "unrealjiang (JIRA)" <ji...@apache.org> on 2007/01/11 10:52:27 UTC

[jira] Updated: (CXF-334) Logical handler's close() method is not properly called after completion

     [ https://issues.apache.org/jira/browse/CXF-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

unrealjiang updated CXF-334:
----------------------------

    Attachment: cxf-334.patch

> Logical handler's close() method is not properly called after completion
> ------------------------------------------------------------------------
>
>                 Key: CXF-334
>                 URL: https://issues.apache.org/jira/browse/CXF-334
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-WS Runtime
>            Reporter: Jervis Liu
>         Attachments: cxf-334.patch
>
>
> Logical handler's close() method is not properly called after completion. A test case can be found from HandlerInvocationTest.testHandlersInvoked()
> JAX-WS section 9.3.2.3:
> A handler's close method is called at the conclusion of a message exchange pattern (MEP). It is called 
> just prior to the binding dispatching the final message, fault or exception of the MEP and may be used to 
> clean up per-MEP resources allocated by a handler. The close method is only called on handlers that were 
> previously invoked via either handleMessage or handleFault 
> Conformance (Invoking close): At the conclusion of an MEP, an implementation MUST call the close 
> method of each handler that was previously invoked during that MEP via either handleMessage or handle- 
> Fault.
> Conformance (Order of close invocations): Handlers are invoked in the reverse order that they appear 
> in the handler chain.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira