Files | |
file | axis2_svc_ctx.h |
Classes | |
struct | axis2_svc_ctx_ops |
struct | axis2_svc_ctx |
Defines | |
#define | AXIS2_SVC_CTX_GET_BASE(svc_ctx, env) ((svc_ctx)->ops->get_base(svc_ctx, env)) |
#define | AXIS2_SVC_CTX_GET_PARENT(svc_ctx, env) ((svc_ctx)->ops->get_parent(svc_ctx, env)) |
#define | AXIS2_SVC_CTX_FREE(svc_ctx, env) ((svc_ctx)->ops->free(svc_ctx, env)) |
#define | AXIS2_SVC_CTX_INIT(svc_ctx, env, conf) ((svc_ctx)->ops->init(svc_ctx, env, conf)) |
#define | AXIS2_SVC_CTX_GET_SVC_ID(svc_ctx, env) ((svc_ctx)->ops->get_svc_id(svc_ctx, env)) |
#define | AXIS2_SVC_CTX_GET_SVC(svc_ctx, env) ((svc_ctx)->ops->get_svc(svc_ctx, env)) |
#define | AXIS2_SVC_CTX_SET_SVC(svc_ctx, env, svc) ((svc_ctx)->ops->set_svc(svc_ctx, env, svc)) |
#define | AXIS2_SVC_CTX_GET_CONF_CTX(svc_ctx, env) ((svc_ctx)->ops->get_conf_ctx(svc_ctx, env)) |
#define | AXIS2_SVC_CTX_CREATE_OP_CTX(svc_ctx, env, qname) ((svc_ctx)->ops->create_op_ctx(svc_ctx, env, qname)) |
Typedefs | |
typedef axis2_svc_ctx_ops | axis2_svc_ctx_ops_t |
typedef axis2_svc_ctx | axis2_svc_ctx_t |
Functions | |
AXIS2_EXTERN axis2_svc_ctx_t * | axis2_svc_ctx_create (const axis2_env_t *env, struct axis2_svc *svc, struct axis2_svc_grp_ctx *svc_grp_ctx) |
#define AXIS2_SVC_CTX_CREATE_OP_CTX | ( | svc_ctx, | |||
env, | |||||
qname | ) | ((svc_ctx)->ops->create_op_ctx(svc_ctx, env, qname)) |
Creates operation context for the named service.
#define AXIS2_SVC_CTX_FREE | ( | svc_ctx, | |||
env | ) | ((svc_ctx)->ops->free(svc_ctx, env)) |
Frees service context.
#define AXIS2_SVC_CTX_GET_BASE | ( | svc_ctx, | |||
env | ) | ((svc_ctx)->ops->get_base(svc_ctx, env)) |
Gets base which is of type context.
#define AXIS2_SVC_CTX_GET_CONF_CTX | ( | svc_ctx, | |||
env | ) | ((svc_ctx)->ops->get_conf_ctx(svc_ctx, env)) |
Gets configuration context.
#define AXIS2_SVC_CTX_GET_PARENT | ( | svc_ctx, | |||
env | ) | ((svc_ctx)->ops->get_parent(svc_ctx, env)) |
Gets parent which is of type service group context.
#define AXIS2_SVC_CTX_GET_SVC | ( | svc_ctx, | |||
env | ) | ((svc_ctx)->ops->get_svc(svc_ctx, env)) |
Gets service that this service context is an instance of.
#define AXIS2_SVC_CTX_GET_SVC_ID | ( | svc_ctx, | |||
env | ) | ((svc_ctx)->ops->get_svc_id(svc_ctx, env)) |
Gets service id of the related service.
#define AXIS2_SVC_CTX_INIT | ( | svc_ctx, | |||
env, | |||||
conf | ) | ((svc_ctx)->ops->init(svc_ctx, env, conf)) |
Initializes service context.
#define AXIS2_SVC_CTX_SET_SVC | ( | svc_ctx, | |||
env, | |||||
svc | ) | ((svc_ctx)->ops->set_svc(svc_ctx, env, svc)) |
Sets service that this service context is an instance of..
typedef struct axis2_svc_ctx_ops axis2_svc_ctx_ops_t |
Type name for struct axis2_svc_ctx_ops
typedef struct axis2_svc_ctx axis2_svc_ctx_t |
Type name for struct axis2_svc_ctx
AXIS2_EXTERN axis2_svc_ctx_t* axis2_svc_ctx_create | ( | const axis2_env_t * | env, | |
struct axis2_svc * | svc, | |||
struct axis2_svc_grp_ctx * | svc_grp_ctx | |||
) |
Creates a service context struct that corresponds to the given service and with the given parent service group context.
env | pointer to environment struct | |
svc | pointer to service that this service context represents, service context does not assume the ownership of service | |
svc_grp_ctx | pointer to service group context, the parent of the newly created service context. service context does not assume the ownership of parent |