[ http://issues.apache.org/jira/browse/AXIS2-653?page=all ]

Bill Nagy updated AXIS2-653:
----------------------------

    Attachment: qoslifecyclepatch.txt

Here's a patch that implements the QoS/handler lifecycle.  (This still doesn't 
fix the module lifecycle issue [i.e. the cleanup() method not being invoked.]). 
 The flowComplete(...) method for a handler will be invoked as the stack is 
unwound from either a successful completion or an error.  (If you want to know 
the order in which things occur, you can look at the comparisons at the end of 
the test cases.)  The only extra info that is kept is two linked lists in the 
MessageContext which maintain the set of phases that have been processed.  (If 
a phase could certainly keep extra state if it desired, but I didn't need to do 
so in any of the standard Axis2 phases.)  The only cost to execute (besides 
list insertions) is the added invocation of the flowComplete(...) on each 
handler that was executed during processing of the message.  (The handler can 
do whatever it wants in the flowComplete(...), so we have no control over how 
long that takes.)  

> Handler method "cleanup" is never called
> ----------------------------------------
>
>                 Key: AXIS2-653
>                 URL: http://issues.apache.org/jira/browse/AXIS2-653
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0
>            Reporter: Thilo Frotscher
>         Assigned To: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: qoslifecyclepatch.txt
>
>
> 1) My IDE couldn't find any references to method "cleanup" in the Axis2 
> source code. It's never called...
> 2) What happens if the handler's invoke method thows a fault? Javadoc for 
> "invoke" says that "onFault" would be called. But there is no such method...
> 3) User guide, page 4 
>     - mentions a method called "revoke". There is no such method in interface 
> Handler. 
>     - refers to green lines in sample configuration...there are no green lines
>     - sample configuration contains mistakes
>  

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to