#include <axis2_svc_ctx.h>
Public Attributes | |
axis2_ctx_t *(* | get_base )(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
axis2_svc_grp_ctx *(* | get_parent )(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
axis2_status_t(* | free )(struct axis2_svc_ctx *svc_ctx, const axis2_env_t *env) |
axis2_status_t(* | init )(struct axis2_svc_ctx *svc_ctx, const axis2_env_t *env, struct axis2_conf *conf) |
const axis2_char_t *(* | get_svc_id )(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
axis2_svc *(* | get_svc )(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_svc )(axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env, struct axis2_svc *svc) |
axis2_conf_ctx *(* | get_conf_ctx )(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
axis2_op_ctx *(* | create_op_ctx )(struct axis2_svc_ctx *svc_ctx, const axis2_env_t *env, const axis2_qname_t *qname) |
struct axis2_op_ctx*( * axis2_svc_ctx_ops::create_op_ctx)(struct axis2_svc_ctx *svc_ctx, const axis2_env_t *env, const axis2_qname_t *qname) |
Creates an operation context for the named operation. The named operation should be one of the operations in the service related to this service context.
svc_ctx | pointer to service context | |
env | pointer to environment struct | |
qname | pointer to qname that represents the operation name. |
axis2_status_t( * axis2_svc_ctx_ops::free)(struct axis2_svc_ctx *svc_ctx, const axis2_env_t *env) |
Frees service context instance.
svc_ctx | pointer to service context | |
env | pointer to environment struct |
axis2_ctx_t*( * axis2_svc_ctx_ops::get_base)(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
Gets base which is of type context.
svc_ctx | pointer to service context | |
env | pointer to environment struct |
struct axis2_conf_ctx*( * axis2_svc_ctx_ops::get_conf_ctx)(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
Gets configuration context which is the super root (super most parent) of the context hierarchy to which this service context belongs.
svc_ctx | pointer to service context | |
env | pointer to environment struct |
struct axis2_svc_grp_ctx*( * axis2_svc_ctx_ops::get_parent)(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
Gets parent which is of type service group context.
svc_ctx | pointer to service context | |
env | pointer to environment struct |
struct axis2_svc*( * axis2_svc_ctx_ops::get_svc)(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
Gets the service that this service context represents.
svc_ctx | pointer to service context | |
env | pointer to environment struct |
const axis2_char_t*( * axis2_svc_ctx_ops::get_svc_id)(const axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env) |
Gets the ID of the service that this service context is an instance of.
svc_ctx | pointer to service context | |
env | pointer to environment struct |
axis2_status_t( * axis2_svc_ctx_ops::init)(struct axis2_svc_ctx *svc_ctx, const axis2_env_t *env, struct axis2_conf *conf) |
Initializes service context. This method locates the corresponding service that is related to the service context from configuration using service qname and keeps a reference to it for future use.
svc_ctx | pointer to service context | |
env | pointer to environment struct | |
conf | pointer to configuration |
axis2_status_t( * axis2_svc_ctx_ops::set_svc)(axis2_svc_ctx_t *svc_ctx, const axis2_env_t *env, struct axis2_svc *svc) |
Sets the service that this service context represents.
svc_ctx | pointer to service context | |
env | pointer to environment struct | |
svc | pointer to service struct, service context does not assume the ownership of the struct |