axis2_svc_grp_ctx_ops Struct Reference
[service group context]

#include <axis2_svc_grp_ctx.h>

List of all members.

Public Attributes

axis2_ctx_t *(* get_base )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)
axis2_conf_ctx *(* get_parent )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)
axis2_status_t(* free )(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env)
axis2_status_t(* init )(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env, struct axis2_conf *conf)
const axis2_char_t *(* get_id )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)
axis2_status_t(* set_id )(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env, const axis2_char_t *id)
axis2_svc_ctx *(* get_svc_ctx )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env, const axis2_char_t *svc_name)
axis2_status_t(* fill_svc_ctx_map )(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env)
axis2_svc_grp *(* get_svc_grp )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)
axis2_hash_t *(* get_svc_ctx_map )(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)


Detailed Description

service group context ops struct. Encapsulator struct for ops of axis2_svc_grp_ctx.


Member Data Documentation

axis2_ctx_t*( * axis2_svc_grp_ctx_ops::get_base)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)

Gets base which is of type context.

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

struct axis2_conf_ctx*( * axis2_svc_grp_ctx_ops::get_parent)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)

Gets parent. configuration context is the parent of any service group context instance.

Parameters:
svc_grp_ctx pointer to service group context
env pointer to environment struct
Returns:
pointer to configuration context, parent of service group

axis2_status_t( * axis2_svc_grp_ctx_ops::free)(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env)

Frees service group context.

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

axis2_status_t( * axis2_svc_grp_ctx_ops::init)(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env, struct axis2_conf *conf)

Initializes service group context. In this method, it pics the related service group from configuration and keeps a reference for future use.

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

const axis2_char_t*( * axis2_svc_grp_ctx_ops::get_id)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)

Gets service group context ID.

Parameters:
svc_grp_ctx pointer to service group context
env pointer to environment struct
Returns:
service group context ID string

axis2_status_t( * axis2_svc_grp_ctx_ops::set_id)(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env, const axis2_char_t *id)

Sets service group context ID.

Parameters:
svc_grp_ctx pointer to service group context
env pointer to environment struct
Returns:
id service group context ID

AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_svc_ctx*( * axis2_svc_grp_ctx_ops::get_svc_ctx)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env, const axis2_char_t *svc_name)

Gets named service context.

Parameters:
svc_grp_ctx pointer to service group context
env pointer to environment struct
svc_name name of service context to be retrieved
Returns:
pointer to named service context

axis2_status_t( * axis2_svc_grp_ctx_ops::fill_svc_ctx_map)(struct axis2_svc_grp_ctx *svc_grp_ctx, const axis2_env_t *env)

Fills service context map. This will create one service context per each service in the service group related to this service context.

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

struct axis2_svc_grp*( * axis2_svc_grp_ctx_ops::get_svc_grp)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)

Gets service group related to this service context.

Parameters:
svc_grp_ctx pointer to service group context
env pointer to environment struct
Returns:
pointer to service group that this service group context represents

axis2_hash_t*( * axis2_svc_grp_ctx_ops::get_svc_ctx_map)(const axis2_svc_grp_ctx_t *svc_grp_ctx, const axis2_env_t *env)

Gets service context map containing all service contexts.

Parameters:
svc_grp_ctx pointer to service group context
env pointer to environment struct
Returns:
pointer to hash table containing the service context map


The documentation for this struct was generated from the following file:
Generated on Wed Dec 20 20:35:11 2006 for Axis2/C by  doxygen 1.5.1