00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef AXIS2_SVC_GRP_CTX_H
00019 #define AXIS2_SVC_GRP_CTX_H
00020
00034 #include <axis2_defines.h>
00035 #include <axutil_env.h>
00036 #include <axis2_svc_ctx.h>
00037 #include <axis2_svc_grp.h>
00038
00039 #ifdef __cplusplus
00040 extern "C"
00041 {
00042 #endif
00043
00044 struct axis2_svc_grp;
00046 typedef struct axis2_svc_grp_ctx axis2_svc_grp_ctx_t;
00047
00058 AXIS2_EXTERN axis2_svc_grp_ctx_t *AXIS2_CALL
00059 axis2_svc_grp_ctx_create(
00060 const axutil_env_t *env,
00061 struct axis2_svc_grp *svc_grp,
00062 struct axis2_conf_ctx *conf_ctx);
00063
00071 AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
00072 axis2_svc_grp_ctx_get_base(const axis2_svc_grp_ctx_t *svc_grp_ctx,
00073 const axutil_env_t *env);
00074
00075
00083 AXIS2_EXTERN struct axis2_conf_ctx *AXIS2_CALL
00084 axis2_svc_grp_ctx_get_parent(const axis2_svc_grp_ctx_t *svc_grp_ctx,
00085 const axutil_env_t *env);
00086
00087
00094 AXIS2_EXTERN void AXIS2_CALL
00095 axis2_svc_grp_ctx_free(struct axis2_svc_grp_ctx *svc_grp_ctx,
00096 const axutil_env_t *env);
00097
00107 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00108 axis2_svc_grp_ctx_init(struct axis2_svc_grp_ctx *svc_grp_ctx,
00109 const axutil_env_t *env,
00110 struct axis2_conf *conf);
00111
00118 AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00119 axis2_svc_grp_ctx_get_id(const axis2_svc_grp_ctx_t *svc_grp_ctx,
00120 const axutil_env_t *env);
00121
00129 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00130 axis2_svc_grp_ctx_set_id(struct axis2_svc_grp_ctx *svc_grp_ctx,
00131 const axutil_env_t *env,
00132 const axis2_char_t *id);
00133
00141 AXIS2_EXTERN struct axis2_svc_ctx *AXIS2_CALL
00142 axis2_svc_grp_ctx_get_svc_ctx(const axis2_svc_grp_ctx_t *svc_grp_ctx,
00143 const axutil_env_t *env,
00144 const axis2_char_t *svc_name);
00145
00153 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00154 axis2_svc_grp_ctx_fill_svc_ctx_map(struct axis2_svc_grp_ctx *svc_grp_ctx,
00155 const axutil_env_t *env);
00156
00164 AXIS2_EXTERN struct axis2_svc_grp *AXIS2_CALL
00165 axis2_svc_grp_ctx_get_svc_grp(const axis2_svc_grp_ctx_t *svc_grp_ctx,
00166 const axutil_env_t *env);
00167
00174 AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00175 axis2_svc_grp_ctx_get_svc_ctx_map(const axis2_svc_grp_ctx_t *svc_grp_ctx,
00176 const axutil_env_t *env);
00177
00178 #ifdef __cplusplus
00179 }
00180 #endif
00181
00182 #endif