[ 
http://issues.apache.org/jira/browse/AXIS2-653?page=comments#action_12431888 ] 
            
Bill Nagy commented on AXIS2-653:
---------------------------------

Hi Deepal.  I actually proposed this modification to the lifecycle sometime in 
April ( http://marc.theaimsgroup.com/?l=axis-dev&m=114505970102143&w=2 ), but 
haven't gotten the code out yet.  You still need a cleanup() method to match 
the init() to allow, for instance, a handler that is maintaining a DB 
connection throughout its lifetime (the lifetime of the system as you said) to 
close the connection when it is being shut down (i.e. when the system is 
stopped.)  As for the "anti"invoke methods, you need to make sure that they get 
called in the opposite order that the invokes happened (and in the same place 
in the call stack,) that they are called only for those handlers who have had 
their invokes called, and that they are called both for normal completion as 
well as in the case of a fault.


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