axis2_svc_ctx_ops Struct Reference
[service context]

#include <axis2_svc_ctx.h>

List of all members.

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)


Detailed Description

service context ops struct. Encapsulator struct for ops of axis2_svc_ctx.


Member Data Documentation

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.

Parameters:
svc_ctx pointer to service context
env pointer to environment struct
qname pointer to qname that represents the operation name.
Returns:
pointer to operation context

axis2_status_t( * axis2_svc_ctx_ops::free)(struct axis2_svc_ctx *svc_ctx, const axis2_env_t *env)

Frees service context instance.

Parameters:
svc_ctx pointer to service context
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

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.

Parameters:
svc_ctx pointer to service context
env pointer to environment struct
Returns:
pointer to context, returns a reference, not a cloned copy

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.

Parameters:
svc_ctx pointer to service context
env pointer to environment struct
Returns:
pointer to configuration context

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.

Parameters:
svc_ctx pointer to service context
env pointer to environment struct
Returns:
pointer to parent service group context

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.

Parameters:
svc_ctx pointer to service context
env pointer to environment struct
Returns:
pointer to service, returns a reference, not a cloned copy

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.

Parameters:
svc_ctx pointer to service context
env pointer to environment struct
Returns:
service ID string.

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.

Parameters:
svc_ctx pointer to service context
env pointer to environment struct
conf pointer to configuration
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

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.

Parameters:
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
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE


The documentation for this struct was generated from the following file:
Generated on Tue Oct 3 18:21:20 2006 for Axis2/C by  doxygen 1.4.7