summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar nandika2010-02-20 10:41:38 +0000
committerGravatar nandika2010-02-20 10:41:38 +0000
commit2e6a3a1b76fcb42c106900486b8b4f633891b904 (patch)
tree355f58f7dc427cfead8a42bf2ad60a0af93c6ee1 /include
parent50373352f7e9e2961e106a828b7980fc32ba763d (diff)
downloadaxis2c-2e6a3a1b76fcb42c106900486b8b4f633891b904.tar.gz
axis2c-2e6a3a1b76fcb42c106900486b8b4f633891b904.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/axis2_svc_grp.h52
1 files changed, 33 insertions, 19 deletions
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 <axis2_desc.h>
#include <axis2_svc.h>
#include <axis2_svc_grp_ctx.h>
+#include <axis2_module_desc.h>
#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
}