[ 
https://issues.apache.org/jira/browse/AXIS2C-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609507#action_12609507
 ] 

Diluka Moratuwage commented on AXIS2C-1211:
-------------------------------------------

Yes that is true, even though we create conf_ctx within subs_mgr and publisher 
services, it's not actually needed. I have attached a patch which removes all 
unnecessary usages of conf_ctx, and modified the publishing client, so that it 
no longer has a conf_ctx within that.

> Improving the AXIS2_SVC_SKELETON_INIT_WITH_CONF
> -----------------------------------------------
>
>                 Key: AXIS2C-1211
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1211
>             Project: Axis2-C
>          Issue Type: Bug
>         Environment: Ubuntu 7.04
>            Reporter: Diluka Moratuwage
>
>    I have some problem with AXIS2_SVC_SKELETON_INIT_WITH_CONF macro. 
> Apparently it allows the service to use the configuration, within the 
> service, when it's starting up. But, by the time this function is called 
> (when loading services), we have already created the conf_ctx. And as I have 
> seen the very usage of this comes when a service have to be started up. But 
> in order to use it, we have to create conf_ctx within the service most 
> probably.
>     So I think it will be appropriate to send the conf_ctx instead of conf 
> into a service. So if the service has any need of the conf, still it can get 
> the conf from the conf_ctx.

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