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

Deepal Jayasinghe resolved AXIS2-2760.
--------------------------------------

    Resolution: Won't Fix

Hi Chamikra,

When you call serviceClient.cleanup it calles the shutdown method of each 
module if and only if you create service client with its default constructor. 
As you know service client can be created using your own ConfigurationContext 
as well , in that case ServiceClient dose not call the shutdown method of any 
module. Think about the scenario where you create service client inside a 
server with server's configContext , so what happen if we call the shutdown 
method of the modules.

So what we are doing at the moment is the best we can do , if you create 
serviceClient with your own configurationContext then you have to call the 
terminate method of the ConfigurationContext not the cleanup method of the 
serviceClient.

> ServiceClient.cleanup() should shutdown each module
> ---------------------------------------------------
>
>                 Key: AXIS2-2760
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2760
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api
>            Reporter: Chamikara Jayalath
>            Assignee: Deepal Jayasinghe
>
> See the ${subject}
> This will help each module to shutdown itself cleanly in the client side. 
> Real cleaning logic of the serviceClient should be called only after these 
> shutdown calls.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to