00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef AXIS2_SVC_GRP_CTX_H
00020 #define AXIS2_SVC_GRP_CTX_H
00021
00035 #include <axis2_defines.h>
00036 #include <axutil_env.h>
00037 #include <axis2_svc_ctx.h>
00038 #include <axis2_svc_grp.h>
00039
00040 #ifdef __cplusplus
00041 extern "C"
00042 {
00043 #endif
00044
00045 struct axis2_svc_grp;
00046
00048 typedef struct axis2_svc_grp_ctx axis2_svc_grp_ctx_t;
00049
00060 AXIS2_EXTERN axis2_svc_grp_ctx_t *AXIS2_CALL
00061 axis2_svc_grp_ctx_create(
00062 const axutil_env_t * env,
00063 struct axis2_svc_grp *svc_grp,
00064 struct axis2_conf_ctx *conf_ctx);
00065
00073 AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
00074 axis2_svc_grp_ctx_get_base(
00075 const axis2_svc_grp_ctx_t * svc_grp_ctx,
00076 const axutil_env_t * env);
00077
00085 AXIS2_EXTERN struct axis2_conf_ctx *AXIS2_CALL
00086 axis2_svc_grp_ctx_get_parent(
00087 const axis2_svc_grp_ctx_t * svc_grp_ctx,
00088 const axutil_env_t * env);
00089
00096 AXIS2_EXTERN void AXIS2_CALL
00097 axis2_svc_grp_ctx_free(
00098 struct axis2_svc_grp_ctx *svc_grp_ctx,
00099 const axutil_env_t * env);
00100
00110 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00111 axis2_svc_grp_ctx_init(
00112 struct axis2_svc_grp_ctx *svc_grp_ctx,
00113 const axutil_env_t * env,
00114 struct axis2_conf *conf);
00115
00122 AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00123 axis2_svc_grp_ctx_get_id(
00124 const axis2_svc_grp_ctx_t * svc_grp_ctx,
00125 const axutil_env_t * env);
00126
00134 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00135 axis2_svc_grp_ctx_set_id(
00136 struct axis2_svc_grp_ctx *svc_grp_ctx,
00137 const axutil_env_t * env,
00138 const axis2_char_t * id);
00139
00147 AXIS2_EXTERN struct axis2_svc_ctx *AXIS2_CALL
00148 axis2_svc_grp_ctx_get_svc_ctx(
00149 const axis2_svc_grp_ctx_t * svc_grp_ctx,
00150 const axutil_env_t * env,
00151 const axis2_char_t * svc_name);
00152
00160 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00161 axis2_svc_grp_ctx_fill_svc_ctx_map(
00162 struct axis2_svc_grp_ctx *svc_grp_ctx,
00163 const axutil_env_t * env);
00164
00172 AXIS2_EXTERN struct axis2_svc_grp *AXIS2_CALL
00173 axis2_svc_grp_ctx_get_svc_grp(
00174 const axis2_svc_grp_ctx_t * svc_grp_ctx,
00175 const axutil_env_t * env);
00176
00183 AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00184 axis2_svc_grp_ctx_get_svc_ctx_map(
00185 const axis2_svc_grp_ctx_t * svc_grp_ctx,
00186 const axutil_env_t * env);
00187
00190 #ifdef __cplusplus
00191 }
00192 #endif
00193
00194 #endif