axis2_ctx_ops Struct Reference
[context]

#include <axis2_ctx.h>

List of all members.

Public Attributes

axis2_status_t(* set_property )(struct axis2_ctx *ctx, const axis2_env_t *env, const axis2_char_t *key, axis2_property_t *value, const axis2_bool_t persistent)
axis2_property_t *(* get_property )(const axis2_ctx_t *ctx, const axis2_env_t *env, const axis2_char_t *key, const axis2_bool_t persistent)
axis2_hash_t *(* get_non_persistent_map )(const axis2_ctx_t *ctx, const axis2_env_t *env)
axis2_hash_t *(* get_persistent_map )(const axis2_ctx_t *ctx, const axis2_env_t *env)
axis2_hash_t *(* get_all_properties )(const axis2_ctx_t *ctx, const axis2_env_t *env)
axis2_status_t(* free )(axis2_ctx_t *ctx, const axis2_env_t *env)
axis2_status_t(* set_non_persistent_map )(struct axis2_ctx *ctx, const axis2_env_t *env, axis2_hash_t *map)
axis2_status_t(* set_persistent_map )(struct axis2_ctx *ctx, const axis2_env_t *env, axis2_hash_t *map)


Detailed Description

context ops struct. Encapsulator struct for ops of axis2_ctx


Member Data Documentation

axis2_status_t( * axis2_ctx_ops::free)(axis2_ctx_t *ctx, const axis2_env_t *env)

Frees context struct.

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

axis2_hash_t*( * axis2_ctx_ops::get_all_properties)(const axis2_ctx_t *ctx, const axis2_env_t *env)

Gets all properties stored within context.

Parameters:
ctx pointer to context struct
env pointer to environment struct
Returns:
pointer to hash table containing all properties

axis2_hash_t*( * axis2_ctx_ops::get_non_persistent_map)(const axis2_ctx_t *ctx, const axis2_env_t *env)

Gets the non-persistent map of properties.

Parameters:
ctx pointer to context struct
env pointer to environment struct
Returns:
pointer to the hash map which stores the non-persistent properties

axis2_hash_t*( * axis2_ctx_ops::get_persistent_map)(const axis2_ctx_t *ctx, const axis2_env_t *env)

Gets the persistent map of properties.

Parameters:
ctx pointer to context struct
env pointer to environment struct
Returns:
pointer to the hash map which stores the persistent properties

axis2_property_t*( * axis2_ctx_ops::get_property)(const axis2_ctx_t *ctx, const axis2_env_t *env, const axis2_char_t *key, const axis2_bool_t persistent)

Gets the property with the given key.

Parameters:
ctx pointer to context struct
env pointer to environment struct
key key string
persistent persistence status, AXIS2_TRUE if the value is to be retrieved from the persistent store, AXIS2_FALSE if it is to be retrieved from the non-persistent store
Returns:
pointer to property struct corresponding to the given key

axis2_status_t( * axis2_ctx_ops::set_non_persistent_map)(struct axis2_ctx *ctx, const axis2_env_t *env, axis2_hash_t *map)

Sets non-persistent map of properties.

Parameters:
ctx pointer to context struct
env pointer to environment struct
map pointer to hash map, context assumes ownership of the map
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_ctx_ops::set_persistent_map)(struct axis2_ctx *ctx, const axis2_env_t *env, axis2_hash_t *map)

Sets persistent map of properties.

Parameters:
ctx pointer to context struct
env pointer to environment struct
map pointer to hash map, context assumes ownership of the map
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_ctx_ops::set_property)(struct axis2_ctx *ctx, const axis2_env_t *env, const axis2_char_t *key, axis2_property_t *value, const axis2_bool_t persistent)

Sets a property with the given key.

Parameters:
ctx pointer to context struct
env pointer to environment struct
key key string to store the property with
value pointer to property to be stored, context assumes the ownership of the property
persistent persist ency status, AXIS2_TRUE if the value is to be stored in the resistant store, AXIS2_FALSE if it is to be stored in the non-persistent store
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE


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