#include <axis2_svc_grp_ctx.h>
Public Attributes | |
axis2_ctx_t *(* | get_base )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
axis2_conf_ctx *(* | get_parent )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
axis2_status_t(* | free )(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env) |
axis2_status_t(* | init )(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env, struct axis2_conf *conf) |
const axis2_char_t *(* | get_id )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_id )(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env, const axis2_char_t *id) |
axis2_svc_ctx *(* | get_svc_ctx )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env, const axis2_char_t *svc_name) |
axis2_status_t(* | fill_svc_ctx_map )(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env) |
axis2_svc_grp *(* | get_svc_grp )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
axis2_hash_t *(* | get_svc_ctx_map )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
axis2_ctx_t*( * axis2_svc_grp_ctx_ops::get_base)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
Gets base which is of type context.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment |
struct axis2_conf_ctx*( * axis2_svc_grp_ctx_ops::get_parent)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
Gets parent. configuration context is the parent of any service group context instance.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment struct |
axis2_status_t( * axis2_svc_grp_ctx_ops::free)(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env) |
Frees service group context.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment struct |
axis2_status_t( * axis2_svc_grp_ctx_ops::init)(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env, struct axis2_conf *conf) |
Initializes service group context. In this method, it pics the related service group from configuration and keeps a reference for future use.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment struct | |
conf | pointer to configuration |
const axis2_char_t*( * axis2_svc_grp_ctx_ops::get_id)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
Gets service group context ID.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment struct |
axis2_status_t( * axis2_svc_grp_ctx_ops::set_id)(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env, const axis2_char_t *id) |
Sets service group context ID.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment struct |
AXIS2_SUCCESS on success, else AXIS2_FAILURE
struct axis2_svc_ctx*( * axis2_svc_grp_ctx_ops::get_svc_ctx)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env, const axis2_char_t *svc_name) |
Gets named service context.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment struct | |
svc_name | name of service context to be retrieved |
axis2_status_t( * axis2_svc_grp_ctx_ops::fill_svc_ctx_map)(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env) |
Fills service context map. This will create one service context per each service in the service group related to this service context.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment struct |
struct axis2_svc_grp*( * axis2_svc_grp_ctx_ops::get_svc_grp)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
Gets service group related to this service context.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment struct |
axis2_hash_t*( * axis2_svc_grp_ctx_ops::get_svc_ctx_map)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env) |
Gets service context map containing all service contexts.
svc_grp_ctx | pointer to service group context | |
env | pointer to environment struct |