00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef AXIS2_SVC_CTX_H
00019 #define AXIS2_SVC_CTX_H
00020
00034 #include <axis2_defines.h>
00035 #include <axutil_env.h>
00036 #include <axis2_op_ctx.h>
00037
00038 #ifdef __cplusplus
00039 extern "C"
00040 {
00041 #endif
00042
00044 typedef struct axis2_svc_ctx axis2_svc_ctx_t;
00045
00057 AXIS2_EXTERN axis2_svc_ctx_t *AXIS2_CALL
00058 axis2_svc_ctx_create(const axutil_env_t *env,
00059 struct axis2_svc *svc,
00060 struct axis2_svc_grp_ctx *svc_grp_ctx);
00061
00068 AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
00069 axis2_svc_ctx_get_base(const axis2_svc_ctx_t *svc_ctx,
00070 const axutil_env_t *env);
00071
00072
00079 AXIS2_EXTERN struct axis2_svc_grp_ctx *AXIS2_CALL
00080 axis2_svc_ctx_get_parent(const axis2_svc_ctx_t *svc_ctx,
00081 const axutil_env_t *env);
00082
00090 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00091 axis2_svc_ctx_set_parent(
00092 axis2_svc_ctx_t *svc_ctx,
00093 const axutil_env_t *env,
00094 struct axis2_svc_grp_ctx *parent);
00095
00096
00103 AXIS2_EXTERN void AXIS2_CALL
00104 axis2_svc_ctx_free(struct axis2_svc_ctx *svc_ctx,
00105 const axutil_env_t *env);
00106
00107
00117 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00118 axis2_svc_ctx_init(struct axis2_svc_ctx *svc_ctx,
00119 const axutil_env_t *env,
00120 struct axis2_conf *conf);
00121
00129 AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00130 axis2_svc_ctx_get_svc_id(const axis2_svc_ctx_t *svc_ctx,
00131 const axutil_env_t *env);
00132
00133
00140 AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
00141 axis2_svc_ctx_get_svc(const axis2_svc_ctx_t *svc_ctx,
00142 const axutil_env_t *env);
00143
00152 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00153 axis2_svc_ctx_set_svc(axis2_svc_ctx_t *svc_ctx,
00154 const axutil_env_t *env,
00155 struct axis2_svc *svc);
00156
00157
00165 AXIS2_EXTERN struct axis2_conf_ctx *AXIS2_CALL
00166 axis2_svc_ctx_get_conf_ctx(const axis2_svc_ctx_t *svc_ctx,
00167 const axutil_env_t *env);
00168
00169
00179 AXIS2_EXTERN struct axis2_op_ctx *AXIS2_CALL
00180 axis2_svc_ctx_create_op_ctx(struct axis2_svc_ctx *svc_ctx,
00181 const axutil_env_t *env,
00182 const axutil_qname_t *qname);
00183
00184 #ifdef __cplusplus
00185 }
00186 #endif
00187
00188 #endif