service context
[context hierarchy]


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_taxis2_svc_ctx_create (const axis2_env_t *env, struct axis2_svc *svc, struct axis2_svc_grp_ctx *svc_grp_ctx)

Detailed Description

service context represents a running "instance" of a service. service context allows instance of operations belonging to a service to be grouped.

Define Documentation

#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.

See also:
axis2_svc_ctx_ops::create_op_ctx

#define AXIS2_SVC_CTX_FREE ( svc_ctx,
env   )     ((svc_ctx)->ops->free(svc_ctx, env))

Frees service context.

See also:
axis2_svc_ctx_ops::free

#define AXIS2_SVC_CTX_GET_BASE ( svc_ctx,
env   )     ((svc_ctx)->ops->get_base(svc_ctx, env))

Gets base which is of type context.

See also:
axis2_svc_ctx_ops::get_base

#define AXIS2_SVC_CTX_GET_CONF_CTX ( svc_ctx,
env   )     ((svc_ctx)->ops->get_conf_ctx(svc_ctx, env))

Gets configuration context.

See also:
axis2_svc_ctx_ops::get_conf_ctx

#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.

See also:
axis2_svc_ctx_ops::get_parent

#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.

See also:
axis2_svc_ctx_ops::get_svc

#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.

See also:
axis2_svc_ctx_ops::get_svc_id

#define AXIS2_SVC_CTX_INIT ( svc_ctx,
env,
conf   )     ((svc_ctx)->ops->init(svc_ctx, env, conf))

Initializes service context.

See also:
axis2_svc_ctx_ops::init

#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..

See also:
axis2_svc_ctx_ops::set_svc


Typedef Documentation

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


Function Documentation

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.

Parameters:
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
Returns:
pointer to newly created service context


Generated on Wed Dec 20 20:35:02 2006 for Axis2/C by  doxygen 1.5.1