|
Files |
file | axis2_phase_resolver.h |
Typedefs |
typedef struct axis2_phase_resolver | axis2_phase_resolver_t |
Functions |
AXIS2_EXTERN void | axis2_phase_resolver_free (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_phase_resolver_build_chains (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_phase_resolver_build_module_op (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env, struct axis2_op *op) |
AXIS2_EXTERN axis2_status_t | axis2_phase_resolver_build_transport_chains (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_phase_resolver_engage_module_globally (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env, struct axis2_module_desc *module) |
AXIS2_EXTERN axis2_status_t | axis2_phase_resolver_engage_module_to_svc_from_global (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env, struct axis2_svc *svc, struct axis2_module_desc *module_desc) |
AXIS2_EXTERN axis2_status_t | axis2_phase_resolver_engage_module_to_svc (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env, struct axis2_svc *svc, struct axis2_module_desc *module_desc) |
AXIS2_EXTERN axis2_status_t | axis2_phase_resolver_disengage_module_from_svc (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env, struct axis2_svc *svc, struct axis2_module_desc *module_desc) |
AXIS2_EXTERN axis2_status_t | axis2_phase_resolver_engage_module_to_op (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env, struct axis2_op *axis_op, struct axis2_module_desc *module_desc) |
AXIS2_EXTERN axis2_status_t | axis2_phase_resolver_disengage_module_from_op (axis2_phase_resolver_t *phase_resolver, const axutil_env_t *env, struct axis2_op *axis_op, struct axis2_module_desc *module_desc) |
AXIS2_EXTERN
axis2_phase_resolver_t * | axis2_phase_resolver_create (const axutil_env_t *env) |
AXIS2_EXTERN
axis2_phase_resolver_t * | axis2_phase_resolver_create_with_config (const axutil_env_t *env, struct axis2_conf *axis2_config) |
AXIS2_EXTERN
axis2_phase_resolver_t * | axis2_phase_resolver_create_with_config_and_svc (const axutil_env_t *env, struct axis2_conf *axis2_config, struct axis2_svc *svc) |
Detailed Description
holds phase information in relation to a given service. Encapsulates a reference to axis configuration, the service the phase resolver related to and a phase holder instance that holds the list of phases.
Typedef Documentation
Type name for axis2_phase_resolver
Function Documentation
Builds the execution chains. Execution chains are collection of phases that are invoked in the execution path.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
Builds execution chains for given operation.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
| op | pointer to operation |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
Builds transport chains.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
Creates phase resolver struct.
- Parameters:
-
| env | pointer to environment struct |
- Returns:
- pointer to newly created phase resolver
Creates phase resolver struct with given configuration.
- Parameters:
-
| env | pointer to environment struct |
| axis2_config | pointer to aixs2 configuration, phase resolver created would not assume ownership of configuration |
- Returns:
- pointer to newly created phase resolver
AXIS2_EXTERN axis2_phase_resolver_t* axis2_phase_resolver_create_with_config_and_svc |
( |
const axutil_env_t * |
env, |
|
|
struct axis2_conf * |
axis2_config, |
|
|
struct axis2_svc * |
svc | |
|
) |
| | |
Creates phase resolver struct with given configuration and service.
- Parameters:
-
| env | pointer to environment struct |
| aixs2_config | pointer to aixs2 configuration, phase resolver created would not assume ownership of configuration |
| svc | pointer to service, phase resolver created would not assume ownership of service |
- Returns:
- pointer to newly created phase resolver
AXIS2_EXTERN axis2_status_t axis2_phase_resolver_disengage_module_from_op |
( |
axis2_phase_resolver_t * |
phase_resolver, |
|
|
const axutil_env_t * |
env, |
|
|
struct axis2_op * |
axis_op, |
|
|
struct axis2_module_desc * |
module_desc | |
|
) |
| | |
Disengages the given module from the given operation.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
| axis_op | pointer to axis operation |
| pointer | to module description |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
AXIS2_EXTERN axis2_status_t axis2_phase_resolver_disengage_module_from_svc |
( |
axis2_phase_resolver_t * |
phase_resolver, |
|
|
const axutil_env_t * |
env, |
|
|
struct axis2_svc * |
svc, |
|
|
struct axis2_module_desc * |
module_desc | |
|
) |
| | |
Disengages the given module from the given service. This means the given module would be disengaged from all operations of the given service.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
| svc | pointer to service |
| module_desc | pointer to module description |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
AXIS2_EXTERN axis2_status_t axis2_phase_resolver_engage_module_globally |
( |
axis2_phase_resolver_t * |
phase_resolver, |
|
|
const axutil_env_t * |
env, |
|
|
struct axis2_module_desc * |
module | |
|
) |
| | |
Engages the given module globally. Engaging a module globally means that the given module would be engaged to all operations in all services.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
| module | pointer to module |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
AXIS2_EXTERN axis2_status_t axis2_phase_resolver_engage_module_to_op |
( |
axis2_phase_resolver_t * |
phase_resolver, |
|
|
const axutil_env_t * |
env, |
|
|
struct axis2_op * |
axis_op, |
|
|
struct axis2_module_desc * |
module_desc | |
|
) |
| | |
Engages the given module to the given operation.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
| axis_op | pointer to axis operation |
| pointer | to module description |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
AXIS2_EXTERN axis2_status_t axis2_phase_resolver_engage_module_to_svc |
( |
axis2_phase_resolver_t * |
phase_resolver, |
|
|
const axutil_env_t * |
env, |
|
|
struct axis2_svc * |
svc, |
|
|
struct axis2_module_desc * |
module_desc | |
|
) |
| | |
Engages the given module to the given service. This means the given module would be engaged to all operations of the given service.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
| svc | pointer to service |
| module_desc | pointer to module description |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
AXIS2_EXTERN axis2_status_t axis2_phase_resolver_engage_module_to_svc_from_global |
( |
axis2_phase_resolver_t * |
phase_resolver, |
|
|
const axutil_env_t * |
env, |
|
|
struct axis2_svc * |
svc, |
|
|
struct axis2_module_desc * |
module_desc | |
|
) |
| | |
Engages the given global module to the given service. This means the given module would be engaged to all operations of the given service.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
| svc | pointer to service |
| module_desc | pointer to module description |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
Frees phase resolver.
- Parameters:
-
| phase_resolver | pointer to phase resolver |
| env | pointer to environment struct |
- Returns:
- void