#include <axis2_ctx.h>
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) |
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.
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 |
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.
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 |
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.
ctx | pointer to context struct | |
env | pointer to environment struct |
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.
ctx | pointer to context struct | |
env | pointer to environment struct |
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.
ctx | pointer to context struct | |
env | pointer to environment struct |
axis2_status_t( * axis2_ctx_ops::free)(axis2_ctx_t *ctx, const axis2_env_t *env) |
Frees context struct.
ctx | pointer to context struct | |
env | pointer to environment struct |
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.
ctx | pointer to context struct | |
env | pointer to environment struct | |
map | pointer to hash map, context assumes ownership of the map |
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.
ctx | pointer to context struct | |
env | pointer to environment struct | |
map | pointer to hash map, context assumes ownership of the map |