Files | |
file | axis2_conf_ctx.h |
Classes | |
struct | axis2_conf_ctx_ops |
struct | axis2_conf_ctx |
Defines | |
#define | AXIS2_CONF_CTX_SET_CONF(conf_ctx, env, conf) ((conf_ctx)->ops->set_conf(conf_ctx, env, conf)) |
#define | AXIS2_CONF_CTX_GET_BASE(conf_ctx, env) ((conf_ctx)->ops->get_base(conf_ctx, env)) |
#define | AXIS2_CONF_CTX_GET_CONF(conf_ctx, env) ((conf_ctx)->ops->get_conf(conf_ctx, env)) |
#define | AXIS2_CONF_CTX_GET_OP_CTX_MAP(conf_ctx, env) ((conf_ctx)->ops->get_op_ctx_map(conf_ctx, env)) |
#define | AXIS2_CONF_CTX_GET_SVC_CTX_MAP(conf_ctx, env) ((conf_ctx)->ops->get_svc_ctx_map(conf_ctx, env)) |
#define | AXIS2_CONF_CTX_GET_SVC_GRP_CTX_MAP(conf_ctx, env) ((conf_ctx)->ops->get_svc_grp_ctx_map(conf_ctx, env)) |
#define | AXIS2_CONF_CTX_REGISTER_OP_CTX(conf_ctx, env, message_id, op_ctx) ((conf_ctx)->ops->register_op_ctx(conf_ctx, env, message_id, op_ctx)) |
#define | AXIS2_CONF_CTX_GET_OP_CTX(conf_ctx, env, message_id) ((conf_ctx)->ops->get_op_ctx(conf_ctx, env, message_id)) |
#define | AXIS2_CONF_CTX_REGISTER_SVC_CTX(conf_ctx, env, svc_id, svc_ctx) ((conf_ctx)->ops->register_svc_ctx(conf_ctx, env, svc_id, svc_ctx)) |
#define | AXIS2_CONF_CTX_GET_SVC_CTX(conf_ctx, env, svc_id) ((conf_ctx)->ops->get_svc_ctx(conf_ctx, env, svc_id)) |
#define | AXIS2_CONF_CTX_REGISTER_SVC_GRP_CTX(conf_ctx, env, svc_grp_id, svc_grp_ctx) ((conf_ctx)->ops->register_svc_grp_ctx(conf_ctx, env, svc_grp_id, svc_grp_ctx)) |
#define | AXIS2_CONF_CTX_GET_SVC_GRP_CTX(conf_ctx, env, svc_grp_id) ((conf_ctx)->ops->get_svc_grp_ctx(conf_ctx, env, svc_grp_id)) |
#define | AXIS2_CONF_CTX_GET_ROOT_DIR(conf_ctx, env) ((conf_ctx)->ops->get_root_dir(conf_ctx, env)) |
#define | AXIS2_CONF_CTX_SET_ROOT_DIR(conf_ctx, env, path) ((conf_ctx)->ops->set_root_dir(conf_ctx, env, path)) |
#define | AXIS2_CONF_CTX_INIT(conf_ctx, env, conf) ((conf_ctx)->ops->init(conf_ctx, env, conf)) |
#define | AXIS2_CONF_CTX_FREE(conf_ctx, env) ((conf_ctx)->ops->free(conf_ctx, env)) |
#define | AXIS2_CONF_CTX_FILL_CTXS(conf_ctx, env, msg_ctx) ((conf_ctx)->ops->fill_ctxs(conf_ctx, env, msg_ctx)) |
Typedefs | |
typedef axis2_conf_ctx_ops | axis2_conf_ctx_ops_t |
typedef axis2_conf_ctx | axis2_conf_ctx_t |
Functions | |
AXIS2_EXTERN axis2_conf_ctx_t * | axis2_conf_ctx_create (const axis2_env_t *env, struct axis2_conf *conf) |
#define AXIS2_CONF_CTX_FILL_CTXS | ( | conf_ctx, | |||
env, | |||||
msg_ctx | ) | ((conf_ctx)->ops->fill_ctxs(conf_ctx, env, msg_ctx)) |
Fill context hierarchy related to the service and operation set in message context.
#define AXIS2_CONF_CTX_FREE | ( | conf_ctx, | |||
env | ) | ((conf_ctx)->ops->free(conf_ctx, env)) |
Frees the configuration context.
#define AXIS2_CONF_CTX_GET_BASE | ( | conf_ctx, | |||
env | ) | ((conf_ctx)->ops->get_base(conf_ctx, env)) |
Gets base which is of type context.
#define AXIS2_CONF_CTX_GET_CONF | ( | conf_ctx, | |||
env | ) | ((conf_ctx)->ops->get_conf(conf_ctx, env)) |
Gets the configuration.
#define AXIS2_CONF_CTX_GET_OP_CTX | ( | conf_ctx, | |||
env, | |||||
message_id | ) | ((conf_ctx)->ops->get_op_ctx(conf_ctx, env, message_id)) |
Gets the operation context with given message ID.
#define AXIS2_CONF_CTX_GET_OP_CTX_MAP | ( | conf_ctx, | |||
env | ) | ((conf_ctx)->ops->get_op_ctx_map(conf_ctx, env)) |
Gets the operation context map.
#define AXIS2_CONF_CTX_GET_ROOT_DIR | ( | conf_ctx, | |||
env | ) | ((conf_ctx)->ops->get_root_dir(conf_ctx, env)) |
Gets the root directory.
#define AXIS2_CONF_CTX_GET_SVC_CTX | ( | conf_ctx, | |||
env, | |||||
svc_id | ) | ((conf_ctx)->ops->get_svc_ctx(conf_ctx, env, svc_id)) |
Gets the service context with given service ID.
#define AXIS2_CONF_CTX_GET_SVC_CTX_MAP | ( | conf_ctx, | |||
env | ) | ((conf_ctx)->ops->get_svc_ctx_map(conf_ctx, env)) |
Gets the service context map.
#define AXIS2_CONF_CTX_GET_SVC_GRP_CTX | ( | conf_ctx, | |||
env, | |||||
svc_grp_id | ) | ((conf_ctx)->ops->get_svc_grp_ctx(conf_ctx, env, svc_grp_id)) |
Gets the service group context with given service group ID.
#define AXIS2_CONF_CTX_GET_SVC_GRP_CTX_MAP | ( | conf_ctx, | |||
env | ) | ((conf_ctx)->ops->get_svc_grp_ctx_map(conf_ctx, env)) |
Gets the service group context map.
#define AXIS2_CONF_CTX_INIT | ( | conf_ctx, | |||
env, | |||||
conf | ) | ((conf_ctx)->ops->init(conf_ctx, env, conf)) |
Initializes the configuration context.
#define AXIS2_CONF_CTX_REGISTER_OP_CTX | ( | conf_ctx, | |||
env, | |||||
message_id, | |||||
op_ctx | ) | ((conf_ctx)->ops->register_op_ctx(conf_ctx, env, message_id, op_ctx)) |
Registers the operation context with given message ID.
#define AXIS2_CONF_CTX_REGISTER_SVC_CTX | ( | conf_ctx, | |||
env, | |||||
svc_id, | |||||
svc_ctx | ) | ((conf_ctx)->ops->register_svc_ctx(conf_ctx, env, svc_id, svc_ctx)) |
Registers the service context with given service ID.
#define AXIS2_CONF_CTX_REGISTER_SVC_GRP_CTX | ( | conf_ctx, | |||
env, | |||||
svc_grp_id, | |||||
svc_grp_ctx | ) | ((conf_ctx)->ops->register_svc_grp_ctx(conf_ctx, env, svc_grp_id, svc_grp_ctx)) |
Registers the service group context with given service group ID.
#define AXIS2_CONF_CTX_SET_CONF | ( | conf_ctx, | |||
env, | |||||
conf | ) | ((conf_ctx)->ops->set_conf(conf_ctx, env, conf)) |
Sets the configuration.
#define AXIS2_CONF_CTX_SET_ROOT_DIR | ( | conf_ctx, | |||
env, | |||||
path | ) | ((conf_ctx)->ops->set_root_dir(conf_ctx, env, path)) |
Sets the root directory.
typedef struct axis2_conf_ctx_ops axis2_conf_ctx_ops_t |
Type name for struct axis2_conf_ctx_ops
typedef struct axis2_conf_ctx axis2_conf_ctx_t |
Type name for struct axis2_conf_ctx
AXIS2_EXTERN axis2_conf_ctx_t* axis2_conf_ctx_create | ( | const axis2_env_t * | env, | |
struct axis2_conf * | conf | |||
) |
Creates a configuration context struct instance.
env | pointer to environment struct | |
conf | pointer to configuration, configuration context assumes ownership of the configuration |