diff options
Diffstat (limited to 'src/core/deployment')
-rw-r--r-- | src/core/deployment/conf_init.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/core/deployment/conf_init.c b/src/core/deployment/conf_init.c index 6a622b4..f9d8958 100644 --- a/src/core/deployment/conf_init.c +++ b/src/core/deployment/conf_init.c @@ -333,30 +333,30 @@ axis2_load_services( { continue; } - impl_class = axis2_svc_get_impl_class(svc, env);
- if(impl_class)
+ impl_class = axis2_svc_get_impl_class(svc, env); + if(impl_class) continue; - ops_hash = axis2_svc_get_all_ops(svc, env);
- if(ops_hash)
- {
- axutil_hash_index_t *op_hi = NULL;
- void *op = NULL;
- op_hi = axutil_hash_first(ops_hash, env);
- if(op_hi)
- {
- axutil_hash_this(op_hi, NULL, NULL, &op);
- if(op)
- {
- msg_recv = axis2_op_get_msg_recv(op, env);
- if(msg_recv)
- {
- axis2_msg_recv_set_conf_ctx(msg_recv, env, conf_ctx);
- axis2_msg_recv_load_and_init_svc(msg_recv, env, svc);
- }
- }
- }
-
+ ops_hash = axis2_svc_get_all_ops(svc, env); + if(ops_hash) + { + axutil_hash_index_t *op_hi = NULL; + void *op = NULL; + op_hi = axutil_hash_first(ops_hash, env); + if(op_hi) + { + axutil_hash_this(op_hi, NULL, NULL, &op); + if(op) + { + msg_recv = axis2_op_get_msg_recv(op, env); + if(msg_recv) + { + axis2_msg_recv_set_conf_ctx(msg_recv, env, conf_ctx); + axis2_msg_recv_load_and_init_svc(msg_recv, env, svc); + } + } + } + } /* svc_desc = (axis2_svc_t *)svc; |