#include <axis2_phase_holder.h>
Public Attributes | |
axis2_status_t(* | free )(axis2_phase_holder_t *phase_holder, const axis2_env_t *env) |
axis2_bool_t(* | is_phase_exist )(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, const axis2_char_t *phase_name) |
axis2_status_t(* | add_handler )(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, struct axis2_handler_desc *handler) |
axis2_phase *(* | get_phase )(const axis2_phase_holder_t *phase_holder, const axis2_env_t *env, const axis2_char_t *phase_name) |
axis2_status_t(* | build_transport_handler_chain )(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, struct axis2_phase *phase, axis2_array_list_t *handlers) |
axis2_status_t( * axis2_phase_holder_ops::free)(axis2_phase_holder_t *phase_holder, const axis2_env_t *env) |
Frees phase holder.
phase_holder | pointer to phase holder | |
env | pointer to environment struct |
axis2_bool_t( * axis2_phase_holder_ops::is_phase_exist)(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, const axis2_char_t *phase_name) |
Checks if the named phase exist.
phase_holder | pointer to phase holder | |
env | pointer to environment struct | |
phase_name | phase name string |
axis2_status_t( * axis2_phase_holder_ops::add_handler)(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, struct axis2_handler_desc *handler) |
Adds given handler to phase holder.
phase_holder | pointer to phase holder | |
env | pointer to environment struct handler pointer to handler |
struct axis2_phase*( * axis2_phase_holder_ops::get_phase)(const axis2_phase_holder_t *phase_holder, const axis2_env_t *env, const axis2_char_t *phase_name) |
Gets the named phase from phase array list.
phase_holder | pointer to phase holder | |
env | pointer to environment struct | |
phase_name | pointer to phase name |
axis2_status_t( * axis2_phase_holder_ops::build_transport_handler_chain)(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, struct axis2_phase *phase, axis2_array_list_t *handlers) |
Builds the transport phase. This method loads the corresponding handlers and added them into correct phase.
phase_holder | pointer to phase holder | |
env | pointer to environment struct | |
phase | pointer to phase, phase holder does not assume the ownership the phase | |
handlers | pointer to array list of handlers, phase holder does not assume the ownership of the list |