#include <axis2_conf_ctx.h>
Public Attributes | |
axis2_status_t(* | set_conf )(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, struct axis2_conf *conf) |
axis2_ctx_t *(* | get_base )(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
axis2_conf_t *(* | get_conf )(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
axis2_hash_t *(* | get_op_ctx_map )(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
axis2_hash_t *(* | get_svc_ctx_map )(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
axis2_hash_t *(* | get_svc_grp_ctx_map )(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
axis2_status_t(* | register_op_ctx )(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *message_id, axis2_op_ctx_t *op_ctx) |
axis2_op_ctx_t *(* | get_op_ctx )(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *message_id) |
axis2_status_t(* | register_svc_ctx )(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *svc_id, axis2_svc_ctx_t *svc_ctx) |
axis2_svc_ctx *(* | get_svc_ctx )(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *svc_id) |
axis2_status_t(* | register_svc_grp_ctx )(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *svc_grp_id, axis2_svc_grp_ctx_t *svc_grp_ctx) |
axis2_svc_grp_ctx_t *(* | get_svc_grp_ctx )(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *svc_grp_id) |
const axis2_char_t *(* | get_root_dir )(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_root_dir )(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *path) |
axis2_status_t(* | init )(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, axis2_conf_t *conf) |
axis2_status_t(* | free )(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
axis2_svc_grp_ctx_t *(* | fill_ctxs )(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx) |
axis2_svc_grp_ctx_t*( * axis2_conf_ctx_ops::fill_ctxs)(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx) |
This method fills the context hierarchy (service group, service and operation contexts that is) for the service and operation found in the given message context. If the context hierarchy is not already built it will create the contexts and build the context hierarchy.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct | |
msg_ctx | pointer to message context with service and operation for which the context hierarchy is to be built set |
axis2_status_t( * axis2_conf_ctx_ops::free)(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
Frees configuration context struct.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct |
axis2_ctx_t*( * axis2_conf_ctx_ops::get_base)(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
Gets the base struct, which is of type context
conf_ctx | pointer to configuration context | |
env | pointer to environment struct |
axis2_conf_t*( * axis2_conf_ctx_ops::get_conf)(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
Gets the configuration of the engine.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct |
axis2_op_ctx_t*( * axis2_conf_ctx_ops::get_op_ctx)(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *message_id) |
Gets operation context corresponding to the given message ID.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct | |
message_id | message ID related to the operation to be retrieved |
axis2_hash_t*( * axis2_conf_ctx_ops::get_op_ctx_map)(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
Gets the hash map of operation context instances.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct |
const axis2_char_t*( * axis2_conf_ctx_ops::get_root_dir)(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
Gets the root working directory. It is in this directory that the axis2.xml configuration file is located. The services and modules sub folders too are located in this directory.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct |
struct axis2_svc_ctx*( * axis2_conf_ctx_ops::get_svc_ctx)(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *svc_id) |
Gets service context with the given service ID
conf_ctx | pointer to configuration context | |
env | pointer to environment struct | |
svc_id | service ID |
axis2_hash_t*( * axis2_conf_ctx_ops::get_svc_ctx_map)(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
Gets the hash map of service context instances.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct |
axis2_svc_grp_ctx_t*( * axis2_conf_ctx_ops::get_svc_grp_ctx)(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *svc_grp_id) |
Gets service group with the given service group ID.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct | |
svc_grp_id | service group id |
axis2_hash_t*( * axis2_conf_ctx_ops::get_svc_grp_ctx_map)(const axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env) |
Gets the hash map of service group context instances.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct |
axis2_status_t( * axis2_conf_ctx_ops::init)(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, axis2_conf_t *conf) |
Initializes the configuration context. Within this function, it would initialize all the service group context, service context and operation context instances stored within configuration context.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct | |
conf | pointer to configuration struct |
axis2_status_t( * axis2_conf_ctx_ops::register_op_ctx)(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *message_id, axis2_op_ctx_t *op_ctx) |
Registers an operation context with the given message ID.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct | |
message_id | message id related to the operation context | |
op_ctx | pointer to operation context, conf context assumes ownership of the operation context |
axis2_status_t( * axis2_conf_ctx_ops::register_svc_ctx)(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *svc_id, axis2_svc_ctx_t *svc_ctx) |
Registers a service context with the given service ID.
conf_ctx | pointer t configuration context | |
env | pointer to environment struct | |
svc_id | ID of the service to be added | |
svc_ctx | pointer to service context |
axis2_status_t( * axis2_conf_ctx_ops::register_svc_grp_ctx)(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *svc_grp_id, axis2_svc_grp_ctx_t *svc_grp_ctx) |
Registers a service group context with the given service group ID.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct | |
svc_grp_id | service group id | |
svc_grp_ctx | pointer to service group context |
axis2_status_t( * axis2_conf_ctx_ops::set_conf)(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, struct axis2_conf *conf) |
Sets the configuration associated with the engine instance.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct | |
conf | pointer to configuration |
axis2_status_t( * axis2_conf_ctx_ops::set_root_dir)(axis2_conf_ctx_t *conf_ctx, const axis2_env_t *env, const axis2_char_t *path) |
Sets the root working directory. It is in this directory that the axis2.xml configuration file is located. The services and modules sub folders too are located in this directory.
conf_ctx | pointer to configuration context | |
env | pointer to environment struct | |
path | string containing the path of root directory |