context
[context hierarchy]


Files

file  axis2_ctx.h

Classes

struct  axis2_ctx_ops
struct  axis2_ctx

Defines

#define AXIS2_CTX_SET_PROPERTY(ctx, env, key, value, persistent)   ((ctx)->ops->set_property(ctx, env, key, value, persistent))
#define AXIS2_CTX_GET_PROPERTY(ctx, env, key, persistent)   ((ctx)->ops->get_property(ctx, env, key, persistent))
#define AXIS2_CTX_GET_NON_PERSISTANT_MAP(ctx, env)   ((ctx)->ops->get_non_persistent_map(ctx, env))
#define AXIS2_CTX_GET_ALL_PROPERTIES(ctx, env)   ((ctx)->ops->get_all_properties(ctx, env))
#define AXIS2_CTX_GET_PERSISTANT_MAP(ctx, env)   ((ctx)->ops->get_persistent_map(ctx, env))
#define AXIS2_CTX_SET_NON_PERSISTANT_MAP(ctx, env, map)   ((ctx)->ops->set_non_persistent_map(ctx, env, map))
#define AXIS2_CTX_SET_PERSISTANT_MAP(ctx, env, map)   ((ctx)->ops->set_persistent_map(ctx, env, map))
#define AXIS2_CTX_FREE(ctx, env)   ((ctx)->ops->free (ctx, env))

Typedefs

typedef axis2_ctx_ops axis2_ctx_ops_t
typedef axis2_ctx axis2_ctx_t

Functions

AXIS2_EXTERN axis2_ctx_taxis2_ctx_create (const axis2_env_t *env)

Detailed Description

context is the base struct of all the context related structs. This struct encapsulates the common operations and data for all context types. All the context types, configuration, service group, service and operation has the base of type context.

Define Documentation

#define AXIS2_CTX_FREE ( ctx,
env   )     ((ctx)->ops->free (ctx, env))

Frees the context.

See also:
axis2_ctx_ops::free

#define AXIS2_CTX_GET_ALL_PROPERTIES ( ctx,
env   )     ((ctx)->ops->get_all_properties(ctx, env))

Gets all properties.

See also:
axis2_ctx_ops::get_all_properties

#define AXIS2_CTX_GET_NON_PERSISTANT_MAP ( ctx,
env   )     ((ctx)->ops->get_non_persistent_map(ctx, env))

Gets non persistent map of properties.

See also:
axis2_ctx_ops::get_non_persistent_map

#define AXIS2_CTX_GET_PERSISTANT_MAP ( ctx,
env   )     ((ctx)->ops->get_persistent_map(ctx, env))

Gets persistent map of properties.

See also:
axis2_ctx_ops::get_persistent_map

#define AXIS2_CTX_GET_PROPERTY ( ctx,
env,
key,
persistent   )     ((ctx)->ops->get_property(ctx, env, key, persistent))

Gets property with given key.

See also:
axis2_ctx_ops::get_property

#define AXIS2_CTX_SET_NON_PERSISTANT_MAP ( ctx,
env,
map   )     ((ctx)->ops->set_non_persistent_map(ctx, env, map))

Sets non persistent map of properties.

See also:
axis2_ctx_ops::set_non_persistent_map

#define AXIS2_CTX_SET_PERSISTANT_MAP ( ctx,
env,
map   )     ((ctx)->ops->set_persistent_map(ctx, env, map))

Sets persistent map of properties.

See also:
axis2_ctx_ops::set_persistent_map

#define AXIS2_CTX_SET_PROPERTY ( ctx,
env,
key,
value,
persistent   )     ((ctx)->ops->set_property(ctx, env, key, value, persistent))

Sets property with given key.

See also:
axis2_ctx_ops::set_property


Typedef Documentation

typedef struct axis2_ctx_ops axis2_ctx_ops_t

Type name for struct axis2_ctx_ops

typedef struct axis2_ctx axis2_ctx_t

Type name for struct axis2_ctx


Function Documentation

AXIS2_EXTERN axis2_ctx_t* axis2_ctx_create ( const axis2_env_t env  ) 

Creates a context struct.

Parameters:
env pointer to environment struct
Returns:
pointer to newly created context


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