From 2e6a3a1b76fcb42c106900486b8b4f633891b904 Mon Sep 17 00:00:00 2001 From: nandika Date: Sat, 20 Feb 2010 10:41:38 +0000 Subject: axis2_svc_grp_disengage_module function added git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@912097 13f79535-47bb-0310-9956-ffa450edef68 --- include/axis2_svc_grp.h | 52 +++++++++++++++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 19 deletions(-) (limited to 'include') diff --git a/include/axis2_svc_grp.h b/include/axis2_svc_grp.h index 1bf28ac..c922e2d 100644 --- a/include/axis2_svc_grp.h +++ b/include/axis2_svc_grp.h @@ -49,6 +49,7 @@ #include #include #include +#include #ifdef __cplusplus extern "C" @@ -60,6 +61,7 @@ extern "C" struct axis2_svc; struct axis2_svc_grp_ctx; + struct axis2_module_desc; /** * Frees service group. @@ -119,10 +121,10 @@ extern "C" * reference, not a cloned copy */ AXIS2_EXTERN struct axis2_svc *AXIS2_CALL - axis2_svc_grp_get_svc( - const axis2_svc_grp_t * svc_grp, - const axutil_env_t * env, - const axutil_qname_t * svc_qname); + axis2_svc_grp_get_svc( + const axis2_svc_grp_t * svc_grp, + const axutil_env_t * env, + const axutil_qname_t * svc_qname); /** * Gets all services associated with service group. @@ -236,9 +238,9 @@ extern "C" * reference, not a cloned copy */ AXIS2_EXTERN struct axis2_conf *AXIS2_CALL - axis2_svc_grp_get_parent( - const axis2_svc_grp_t * svc_grp, - const axutil_env_t * env); + axis2_svc_grp_get_parent( + const axis2_svc_grp_t * svc_grp, + const axutil_env_t * env); /** * Sets parent which is of type configuration. @@ -277,10 +279,9 @@ extern "C" * reference, not a cloned copy */ AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL - - axis2_svc_grp_get_all_module_qnames( - const axis2_svc_grp_t * svc_grp, - const axutil_env_t * env); + axis2_svc_grp_get_all_module_qnames( + const axis2_svc_grp_t * svc_grp, + const axutil_env_t * env); /** * Adds module reference. @@ -303,7 +304,6 @@ extern "C" * a reference, not a cloned copy */ AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL - axis2_svc_grp_get_all_module_refs( const axis2_svc_grp_t * svc_grp, const axutil_env_t * env); @@ -318,14 +318,12 @@ extern "C" * group, returns a reference, not a cloned copy */ AXIS2_EXTERN struct axis2_svc_grp_ctx *AXIS2_CALL - - axis2_svc_grp_get_svc_grp_ctx( - const axis2_svc_grp_t * svc_grp, - const axutil_env_t * env, - struct axis2_conf_ctx *parent); + axis2_svc_grp_get_svc_grp_ctx( + const axis2_svc_grp_t * svc_grp, + const axutil_env_t * env, + struct axis2_conf_ctx *parent); AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL - axis2_svc_grp_get_param_container( const axis2_svc_grp_t * svc_grp, const axutil_env_t * env); @@ -364,7 +362,7 @@ extern "C" /** * Checks whether a given module is engaged to the service group - * @param svc_grp point to service group + * @param svc_grp pointer to service group * @param env pointer to the environment struct * @return pointer to base description struct */ @@ -375,6 +373,22 @@ extern "C" const axutil_env_t *env, const axutil_qname_t *qname); + /** + * Disengage a module from a service group. This method will disengage the + * all the services belonging to the service group from the specified module. + * @param svc_grp pointer to the service group instance + * @param env environment struct + * @param mod_desc pointer to the module description instance + * @Param conf pointer to the configuration + */ + + AXIS2_EXTERN axis2_status_t AXIS2_CALL + axis2_svc_grp_disengage_module( + const axis2_svc_grp_t *svc_grp, + const axutil_env_t *env, + struct axis2_module_desc *module_desc, + struct axis2_conf *conf); + #ifdef __cplusplus } -- cgit v1.1-32-gdbae