You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2005/12/05 05:03:16 UTC
svn commit: r353975 [1/2] - in /webservices/axis2/trunk/c: ./ include/
modules/core/ modules/core/deployment/ modules/core/deployment/src/
modules/core/description/src/ modules/core/engine/src/
Author: damitha
Date: Sun Dec 4 20:02:46 2005
New Revision: 353975
URL: http://svn.apache.org/viewcvs?rev=353975&view=rev
Log:
axis2_engine_config is complete except some methods which involve deployment.
Added:
webservices/axis2/trunk/c/include/axis2_phases_info.h
webservices/axis2/trunk/c/modules/core/deployment/
webservices/axis2/trunk/c/modules/core/deployment/Makefile.am
webservices/axis2/trunk/c/modules/core/deployment/Makefile.in
webservices/axis2/trunk/c/modules/core/deployment/src/
webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.am
webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.in
webservices/axis2/trunk/c/modules/core/deployment/src/phases_info.c
Modified:
webservices/axis2/trunk/c/configure
webservices/axis2/trunk/c/configure.ac
webservices/axis2/trunk/c/include/axis2_engine_config.h
webservices/axis2/trunk/c/include/axis2_error.h
webservices/axis2/trunk/c/include/axis2_operation.h
webservices/axis2/trunk/c/include/axis2_phase_meta.h
webservices/axis2/trunk/c/include/axis2_svc_grp.h
webservices/axis2/trunk/c/modules/core/Makefile.am
webservices/axis2/trunk/c/modules/core/Makefile.in
webservices/axis2/trunk/c/modules/core/description/src/svc_grp.c
webservices/axis2/trunk/c/modules/core/engine/src/engine_config.c
Modified: webservices/axis2/trunk/c/configure
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/configure?rev=353975&r1=353974&r2=353975&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure (original)
+++ webservices/axis2/trunk/c/configure Sun Dec 4 20:02:46 2005
@@ -22469,7 +22469,7 @@
PULL_PARSER=$want_parser
- ac_config_files="$ac_config_files Makefile modules/Makefile modules/core/Makefile modules/core/context/Makefile modules/core/context/src/Makefile modules/core/description/Makefile modules/core/description/src/Makefile modules/core/engine/Makefile modules/core/engine/src/Makefile modules/core/handlers/Makefile modules/core/handlers/src/Makefile modules/core/addr/Makefile modules/core/addr/src/Makefile modules/core/phaseresolver/Makefile modules/core/phaseresolver/src/Makefile modules/c
ore/transport/Makefile modules/xml/Makefile modules/xml/parser/Makefile modules/xml/parser/guththila/Makefile modules/xml/parser/guththila/impl/Makefile modules/xml/parser/guththila/impl/src/Makefile modules/xml/parser/guththila/src/Makefile modules/xml/parser/libxml2/Makefile modules/xml/parser/libxml2/src/Makefile modules/xml/soap/Makefile modules/xml/soap/src/Makefile modules/xml/om/Makefile modules/xml/om/src/Makefile modules/common/Makefile modules/common/src/Makefile modules/util/Makefile modules/util/src/Makefile modules/wsdl/Makefile modules/wsdl/src/Makefile test/Makefile test/xml/Makefile test/xml/om/Makefile test/common/Makefile test/core/Makefile test/core/handlers/Makefile test/util/Makefile test/unit/Makefile test/unit/core/Makefile test/unit/core/description/Makefile test/unit/core/engine/Makefile test/unit/core/context/Makefile test/unit/core/phaseresolver/Makefile test/unit/util/Makefile test/unit/xml/Makefile test/unit/xml/om/Makefile"
+ ac_config_files="$ac_config_files Makefile modules/Makefile modules/core/Makefile modules/core/context/Makefile modules/core/context/src/Makefile modules/core/description/Makefile modules/core/description/src/Makefile modules/core/engine/Makefile modules/core/engine/src/Makefile modules/core/handlers/Makefile modules/core/handlers/src/Makefile modules/core/addr/Makefile modules/core/addr/src/Makefile modules/core/phaseresolver/Makefile modules/core/phaseresolver/sr
c/Makefile modules/core/transport/Makefile modules/core/deployment/Makefile modules/core/deployment/src/Makefile modules/xml/Makefile modules/xml/parser/Makefile modules/xml/parser/guththila/Makefile modules/xml/parser/guththila/impl/Makefile modules/xml/parser/guththila/impl/src/Makefile modules/xml/parser/guththila/src/Makefile modules/xml/parser/libxml2/Makefile modules/xml/parser/libxml2/src/Makefile modules/xml/soap/Makefile modules/xml/soap/src/Makefile modules/xml/om/Makefile modules/xml/om/src/Makefile modules/common/Makefile modules/common/src/Makefile modules/util/Makefile modules/util/src/Makefile modules/wsdl/Makefile modules/wsdl/src/Makefile test/Makefile test/xml/Makefile test/xml/om/Makefile test/common/Makefile test/core/Makefile test/core/handlers/Makefile test/util/Makefile test/unit/Makefile test/unit/core/Makefile test/unit/core/description/Makefile test/unit/core/engine/Makefile test/unit/core/context/Makefile test/unit/core/phaseresolver/Makefile test/
unit/util/Makefile test/unit/xml/Makefile test/unit/xml/om/Makefile"
cat >confcache <<\_ACEOF
@@ -23079,6 +23079,8 @@
"modules/core/phaseresolver/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/core/phaseresolver/Makefile" ;;
"modules/core/phaseresolver/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/core/phaseresolver/src/Makefile" ;;
"modules/core/transport/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/core/transport/Makefile" ;;
+ "modules/core/deployment/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/core/deployment/Makefile" ;;
+ "modules/core/deployment/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/core/deployment/src/Makefile" ;;
"modules/xml/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/xml/Makefile" ;;
"modules/xml/parser/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/xml/parser/Makefile" ;;
"modules/xml/parser/guththila/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/xml/parser/guththila/Makefile" ;;
Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/configure.ac?rev=353975&r1=353974&r2=353975&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Sun Dec 4 20:02:46 2005
@@ -106,6 +106,8 @@
modules/core/phaseresolver/Makefile \
modules/core/phaseresolver/src/Makefile \
modules/core/transport/Makefile \
+ modules/core/deployment/Makefile \
+ modules/core/deployment/src/Makefile \
modules/xml/Makefile \
modules/xml/parser/Makefile \
modules/xml/parser/guththila/Makefile \
Modified: webservices/axis2/trunk/c/include/axis2_engine_config.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_engine_config.h?rev=353975&r1=353974&r2=353975&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_engine_config.h (original)
+++ webservices/axis2/trunk/c/include/axis2_engine_config.h Sun Dec 4 20:02:46 2005
@@ -30,6 +30,7 @@
#include <axis2_transport_out_desc.h>
#include <axis2_qname.h>
#include <axis2_hash.h>
+#include <axis2_phases_info.h>
#ifdef __cplusplus
extern "C"
@@ -39,7 +40,8 @@
* @ingroup axis2_core_engine
* @{
*/
-
+
+struct axis2_phases_info;
struct axis2_transport_in_desc *transports_in;
struct axis2_transport_out_desc *transports_out;
typedef struct axis2_engine_config_ops axis2_engine_config_ops_t;
@@ -67,7 +69,7 @@
struct axis2_svc_grp *(AXIS2_CALL *
get_svc_grp) ( axis2_engine_config_t *engine_config,
axis2_env_t **env,
- const axis2_char_t *svc_grp_name);
+ axis2_char_t *svc_grp_name);
axis2_hash_t * (AXIS2_CALL *
get_svc_grps) (axis2_engine_config_t *engine_config,
@@ -81,7 +83,7 @@
struct axis2_svc *(AXIS2_CALL *
get_svc) (axis2_engine_config_t *engine_config,
axis2_env_t **env,
- const axis2_char_t* svc_name);
+ axis2_char_t* svc_name);
axis2_status_t (AXIS2_CALL *
remove_svc) (axis2_engine_config_t *engine_config,
@@ -105,7 +107,7 @@
axis2_bool_t (AXIS2_CALL *
is_param_locked) (axis2_engine_config_t *engine_config,
axis2_env_t **env,
- const axis2_char_t *param_name);
+ axis2_char_t *param_name);
struct axis2_transport_in_desc * (AXIS2_CALL *
get_transport_in)(axis2_engine_config_t *engine_config,
@@ -167,7 +169,7 @@
axis2_env_t **env);
axis2_array_list_t * (AXIS2_CALL *
- get_in_phases_upto_and_including_post_dispatch) (
+ get_inphases_upto_and_including_post_dispatch) (
axis2_engine_config_t *engine_config,
axis2_env_t **env);
@@ -180,15 +182,90 @@
* @return ArrayList
*/
axis2_array_list_t * (AXIS2_CALL *
- get_in_fault_flow) (axis2_engine_config_t *engine_config,
+ get_in_faultflow) (axis2_engine_config_t *engine_config,
axis2_env_t **env);
/**
* @return ArrayList
*/
axis2_array_list_t * (AXIS2_CALL *
- get_out_fault_flow) (axis2_engine_config_t *engine_config,
- axis2_env_t **env);
+ get_out_faultflow) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env);
+
+ axis2_hash_t *(AXIS2_CALL *
+ get_faulty_svcs) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env);
+
+ axis2_hash_t *(AXIS2_CALL *
+ get_faulty_modules) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env);
+
+ /*to get all the services in the system */
+ axis2_hash_t *(AXIS2_CALL *
+ get_svcs) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env);
+
+ axis2_bool_t (AXIS2_CALL *
+ is_engaged) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env,
+ axis2_qname_t *module_name);
+
+ struct axis2_phases_info *(AXIS2_CALL *
+ get_phases_info) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_phases_info) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env,
+ struct axis2_phases_info *phases_info);
+ axis2_status_t (AXIS2_CALL *
+ add_msg_recv) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env,
+ axis2_char_t *key,
+ struct axis2_msg_recv *msg_recv);
+
+ struct axis2_msg_recv *(AXIS2_CALL *
+ get_msg_recv) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env,
+ axis2_char_t *key);
+
+ axis2_status_t (AXIS2_CALL *
+ set_outphases) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env,
+ axis2_array_list_t *outphases);
+
+ /**
+ * @param list
+ */
+ axis2_status_t (AXIS2_CALL *
+ set_in_faultphases) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env,
+ axis2_array_list_t *list);
+
+ /**
+ * @param list
+ */
+ axis2_status_t (AXIS2_CALL *
+ set_out_faultphases) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env,
+ axis2_array_list_t *list);
+
+ /**
+ * @return HashMap
+ */
+ axis2_hash_t *(AXIS2_CALL *
+ get_modules) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env);
+
+ /**
+ * Method addMdoule
+ *
+ * @param module
+ */
+ axis2_status_t (AXIS2_CALL *
+ add_module) (axis2_engine_config_t *engine_config,
+ axis2_env_t **env,
+ struct axis2_module_desc *module);
};
@@ -272,17 +349,56 @@
(engine_config->ops->get_engaged_modules(engine_config , env))
#define AXIS2_ENGINE_CONFIG_GET_IN_PHASES_UPTO_AND_INCLUDING_POST_DISPATCH(engine_config, env) \
- (engine_config->ops->get_in_phases_upto_and_including_post_dispatch(engine_config , env))
+ (engine_config->ops->get_inphases_upto_and_including_post_dispatch(engine_config , env))
#define AXIS2_ENGINE_CONFIG_GET_OUTFLOW(engine_config, env) \
(engine_config->ops->get_outflow(engine_config , env))
#define AXIS2_ENGINE_CONFIG_GET_IN_FAULT_FLOW(engine_config, env) \
- (engine_config->ops->get_in_fault_flow(engine_config , env))
+ (engine_config->ops->get_in_faultflow(engine_config , env))
#define AXIS2_ENGINE_CONFIG_GET_OUT_FAULT_FLOW(engine_config, env) \
- (engine_config->ops->get_out_fault_flow(engine_config , env))
+ (engine_config->ops->get_out_faultflow(engine_config , env))
+
+
+#define AXIS2_ENGINE_CONFIG_GET_FAULTY_SVCS(engine_config, env) \
+ (engine_config->ops->get_faulty_svcs(engine_config , env))
+
+#define AXIS2_ENGINE_CONFIG_GET_FAULTY_MODULES(engine_config, env) \
+ (engine_config->ops->get_faulty_modules(engine_config , env))
+
+#define AXIS2_ENGINE_CONFIG_GET_SVCS(engine_config, env) \
+ (engine_config->ops->get_svcs(engine_config , env))
+
+#define AXIS2_ENGINE_CONFIG_IS_ENGAGED(engine_config, env, module_name) \
+ (engine_config->ops->is_engaged(engine_config , env, module_name))
+
+#define AXIS2_ENGINE_CONFIG_GET_PHASESINFO(engine_config, env) \
+ (engine_config->ops->get_phases_info(engine_config , env))
+
+#define AXIS2_ENGINE_CONFIG_SET_PHASESINFO(engine_config, env, phases_info) \
+ (engine_config->ops->set_phases_info(engine_config , env, phases_info))
+
+#define AXIS2_ENGINE_CONFIG_ADD_MSG_RECV(engine_config, env, key, msg_recv) \
+ (engine_config->ops->add_msg_recv(engine_config , env, key, msg_recv))
+
+#define AXIS2_ENGINE_CONFIG_GET_MSG_RECV(engine_config, env, key) \
+ (engine_config->ops->get_msg_recv(engine_config , env, key))
+
+#define AXIS2_ENGINE_CONFIG_SET_OUTPHASES(engine_config, env, outphases) \
+ (engine_config->ops->set_outphases(engine_config , env, outphases))
+
+#define AXIS2_ENGINE_CONFIG_SET_IN_FAULTPHASES(engine_config, env, list) \
+ (engine_config->ops->set_in_faultphases(engine_config , env, list))
+
+#define AXIS2_ENGINE_CONFIG_SET_OUT_FAULTPHASES(engine_config, env, list) \
+ (engine_config->ops->set_out_faultphases(engine_config , env, list))
+
+#define AXIS2_ENGINE_CONFIG_GET_MODULES(engine_config, env) \
+ (engine_config->ops->get_modules(engine_config , env))
+#define AXIS2_ENGINE_CONFIG_ADD_MODULE(engine_config, env, module) \
+ (engine_config->ops->add_module(engine_config , env, module))
/************************* End of function macros *****************************/
Modified: webservices/axis2/trunk/c/include/axis2_error.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_error.h?rev=353975&r1=353974&r2=353975&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_error.h (original)
+++ webservices/axis2/trunk/c/include/axis2_error.h Sun Dec 4 20:02:46 2005
@@ -195,6 +195,8 @@
AXIS2_ERROR_MODULE_ALREADY_ENGAGED_TO_OPERATION,
/** module has alredy been engaged on the service.Operation terminated !!! */
AXIS2_ERROR_MODULE_ALREADY_ENGAGED_TO_SVC,
+ /** module has alredy been engaged on the service. Group Operation terminated !!! */
+ AXIS2_ERROR_MODULE_ALREADY_ENGAGED_TO_SVC_GRP,
/** Invalid message context state */
AXIS2_ERROR_INVALID_STATE_MSG_CTX,
/** Service not yet found */
@@ -244,7 +246,11 @@
AXIS2_ERROR_WRITING_DTD,
- AXIS2_ERROR_WRITING_DEFAULT_NAMESPACE
+ AXIS2_ERROR_WRITING_DEFAULT_NAMESPACE,
+ /**Two service can not have same name, a service with same name alredy
+ * exist in the system
+ */
+ AXIS2_ERROR_TWO_SVCS_CANNOT_HAVE_SAME_NAME
Modified: webservices/axis2/trunk/c/include/axis2_operation.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_operation.h?rev=353975&r1=353974&r2=353975&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_operation.h (original)
+++ webservices/axis2/trunk/c/include/axis2_operation.h Sun Dec 4 20:02:46 2005
@@ -31,6 +31,7 @@
#include <axis2_module_desc.h>
#include <axis2_wsdl_msg_ref.h>
#include <axis2_description.h>
+#include <axis2_phase_meta.h>
#ifdef __cplusplus
Modified: webservices/axis2/trunk/c/include/axis2_phase_meta.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_phase_meta.h?rev=353975&r1=353974&r2=353975&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phase_meta.h (original)
+++ webservices/axis2/trunk/c/include/axis2_phase_meta.h Sun Dec 4 20:02:46 2005
@@ -40,17 +40,17 @@
#define AXIS2_FAULT_OUTFLOW 4
/* INFLOW */
-/* static const axis2_char_t *AXIS2_PHASE_TRANSPORTIN = "TransportIn";
+ static const axis2_char_t *AXIS2_PHASE_TRANSPORTIN = "TransportIn";
static const axis2_char_t *AXIS2_PHASE_PRE_DISPATCH = "PreDispatch";
static const axis2_char_t *AXIS2_PHASE_DISPATCH = "Dispatch";
static const axis2_char_t *AXIS2_PHASE_POST_DISPATCH = "PostDispatch";
static const axis2_char_t *AXIS2_PHASE_POLICY_DETERMINATION = "PolicyDetermination";
- static const axis2_char_t *AXIS2_PHASE_MESSAGE_PROCESSING = "MessageProcessing";
+ /*static const axis2_char_t *AXIS2_PHASE_MESSAGE_PROCESSING = "MessageProcessing";
*/
/* OUTFLOW */
-/* static const axis2_char_t *AXIS2_PHASE_MESSAGE_OUT = "MessageOut";
+ static const axis2_char_t *AXIS2_PHASE_MESSAGE_OUT = "MessageOut";
static const axis2_char_t *AXIS2_PHASE_TRANSPORT_OUT = "MessageOut";
-*/
+
/**
* All the handlers inside transport_sender and tranport_recievre in axis2.xml gose
* to this phase
Added: webservices/axis2/trunk/c/include/axis2_phases_info.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_phases_info.h?rev=353975&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phases_info.h (added)
+++ webservices/axis2/trunk/c/include/axis2_phases_info.h Sun Dec 4 20:02:46 2005
@@ -0,0 +1,170 @@
+#ifndef AXIS2_PHASES_INFO_H
+#define AXIS2_PHASES_INFO_H
+
+/**
+ * @file axis2_phases_info.h
+ * @brief axis2 phases info interface.
+ */
+#include <axis2.h>
+#include <axis2_error.h>
+#include <axis2_defines.h>
+#include <axis2_env.h>
+#include <axis2_allocator.h>
+#include <axis2_string.h>
+#include <axis2_array_list.h>
+#include <axis2_operation.h>
+#include <axis2_phase.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
+typedef struct axis2_phases_info_ops axis2_phases_info_ops_t;
+typedef struct axis2_phases_info axis2_phases_info_t;
+
+/** @defgroup axis2_phases_info Phases Info
+ * @ingroup axis2_deployment
+ * @{
+ */
+
+/**
+ * @brief Phases Info operations struct
+ * Encapsulator struct for operations of axis2_phases_info
+ */
+struct axis2_phases_info_ops
+{
+ /** Deallocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *free) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_inphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t *inphases);
+
+ axis2_status_t (AXIS2_CALL *
+ set_outphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t *outphases);
+
+ axis2_status_t (AXIS2_CALL *
+ set_in_faultphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t *in_faultphases);
+
+ axis2_status_t (AXIS2_CALL *
+ set_out_faultphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t * out_faultphases);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_inphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_outphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_in_faultphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_out_faultphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_operation_inphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_operation_outphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_operation_in_faultphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_operation_out_faultphases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_operation_phases) (axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ struct axis2_operation *axis2_opt);
+
+
+};
+
+/**
+ * @brief Phases Info struct
+ * Axis2 Phases Info
+ */
+struct axis2_phases_info
+{
+ axis2_phases_info_ops_t *ops;
+};
+
+/** create Phases Info struct
+ * @return pointer to newly created phases info
+ */
+AXIS2_DECLARE(axis2_phases_info_t *)
+axis2_phases_info_create (axis2_env_t **env);
+
+/**************************** Start of function macros ************************/
+
+#define AXIS2_PHASES_INFO_FREE(phases_info, env) \
+ ((phases_info->ops)->free (phases_info, env))
+
+#define AXIS2_PHASES_INFO_SET_INPHASES(phases_info, env, inphases) \
+ ((phases_info->ops)->set_inphases(phases_info, env, inphases))
+
+#define AXIS2_PHASES_INFO_SET_OUTPHASES(phases_info, env, outphases) \
+ ((phases_info->ops)->set_outphases(phases_info, env, outphases))
+
+#define AXIS2_PHASES_INFO_SET_IN_FAULTPHASES(phases_info, env, in_faultphases) \
+ ((phases_info->ops)->set_in_faultphases(phases_info, env, in_faultphases))
+
+#define AXIS2_PHASES_INFO_SET_OUT_FAULTPHASES(phases_info, env, out_faultphases) \
+ ((phases_info->ops)->set_out_faultphases(phases_info, env, out_faultphases))
+
+#define AXIS2_PHASES_INFO_GET_INPHASES(phases_info, env) \
+ ((phases_info->ops)->get_inphases(phases_info, env))
+
+#define AXIS2_PHASES_INFO_GET_OUTPHASES(phases_info, env) \
+ ((phases_info->ops)->get_outphases(phases_info, env))
+
+#define AXIS2_PHASES_INFO_GET_IN_FAULTPHASES(phases_info, env) \
+ ((phases_info->ops)->get_in_faultphases(phases_info, env))
+
+#define AXIS2_PHASES_INFO_GET_OUT_FAULTPHASES(phases_info, env) \
+ ((phases_info->ops)->get_out_faultphases(phases_info, env))
+
+#define AXIS2_PHASES_INFO_GET_OPERATION_INPHASES(phases_info, env) \
+ ((phases_info->ops)->get_operation_inphases(phases_info, env))
+
+#define AXIS2_PHASES_INFO_GET_OPERATION_OUTPHASES(phases_info, env) \
+ ((phases_info->ops)->get_operation_outphases(phases_info, env))
+
+#define AXIS2_PHASES_INFO_GET_OPERATION_IN_FAULTPHASES(phases_info, env) \
+ ((phases_info->ops)->get_operation_in_faultphases(phases_info, env))
+
+#define AXIS2_PHASES_INFO_GET_OPERATION_OUT_FAULTPHASES(phases_info, env) \
+ ((phases_info->ops)->get_operation_out_faultphases(phases_info, env))
+
+#define AXIS2_PHASES_INFO_SET_OPERATION_PHASES(phases_info, env, axis2_opt) \
+ ((phases_info->ops)->set_operation_phases(phases_info, env, axis2_opt))
+
+/**************************** End of function macros **************************/
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*AXIS2_PHASES_INFO_H*/
Modified: webservices/axis2/trunk/c/include/axis2_svc_grp.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_svc_grp.h?rev=353975&r1=353974&r2=353975&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_grp.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_grp.h Sun Dec 4 20:02:46 2005
@@ -60,7 +60,7 @@
* @return status_code
*/
axis2_status_t (AXIS2_CALL *
- set_name) (axis2_svc_grp_t *svc_grp,
+ set_svc_grp_name) (axis2_svc_grp_t *svc_grp,
axis2_env_t **env,
axis2_char_t *svc_grp_name);
/**
@@ -68,7 +68,7 @@
* @return service group name
*/
axis2_char_t *(AXIS2_CALL *
- get_name) (axis2_svc_grp_t *svc_grp,
+ get_svc_grp_name) (axis2_svc_grp_t *svc_grp,
axis2_env_t **env) ;
/**
* Add a service to the serivce group
@@ -131,6 +131,34 @@
set_parent) (axis2_svc_grp_t *svc_grp,
axis2_env_t **env,
struct axis2_engine_config *parent);
+
+ axis2_status_t (AXIS2_CALL *
+ engage_module_to_grp) (axis2_svc_grp_t *svc_grp,
+ axis2_env_t **env,
+ axis2_qname_t *module_name);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_svc_grp_modules) (axis2_svc_grp_t *svc_grp,
+ axis2_env_t **env);
+
+ struct axis2_engine_config *(AXIS2_CALL *
+ get_axis_desc) (axis2_svc_grp_t *svc_grp,
+ axis2_env_t **env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_axis_desc) (axis2_svc_grp_t *svc_grp,
+ axis2_env_t **env,
+ struct axis2_engine_config *axis2_desc);
+
+ axis2_status_t (AXIS2_CALL *
+ add_moduleref) (axis2_svc_grp_t *svc_grp,
+ axis2_env_t **env,
+ axis2_qname_t *moduleref);
+
+ axis2_array_list_t *(AXIS2_CALL *
+ get_modules) (axis2_svc_grp_t *svc_grp,
+ axis2_env_t **env);
+
};
/**
@@ -165,10 +193,10 @@
#define AXIS2_SVC_GRP_FREE(svc_grp, env) (svc_grp->ops->free (svc_grp , env))
#define AXIS2_SVC_GRP_SET_NAME(svc_grp, env , svc_grp_name) \
- (svc_grp->ops->set_name (svc_grp, env, svc_grp_name))
+ (svc_grp->ops->set_svc_grp_name (svc_grp, env, svc_grp_name))
#define AXIS2_SVC_GRP_GET_NAME(svc_grp, env) \
- (svc_grp->ops->get_name(svc_grp, env))
+ (svc_grp->ops->get_svc_grp_name(svc_grp, env))
#define AXIS2_SVC_GRP_ADD_SVC(svc_grp, env , svc) \
(svc_grp->ops->add_svc (svc_grp, env, svc))
@@ -201,7 +229,27 @@
(svc_grp->ops->get_parent(svc_grp, env))
#define AXIS2_SVC_GRP_SET_PARENT(svc_grp, env , parent) \
- (svc_grp->ops->set_parent(svc_grp, env, parent))
+ (svc_grp->ops->set_parent(svc_grp, env, parent))
+
+#define AXIS2_SVC_GRP_ENGAGE_MODULE_TO_GRP(svc_grp, env, module_name) \
+ (svc_grp->ops->engage_module_to_grp(svc_grp, env, module_name))
+
+#define AXIS2_SVC_GRP_GET_SVC_GRP_MODULES(svc_grp, env) \
+ (svc_grp->ops->get_svc_grp_modules(svc_grp, env))
+
+#define AXIS2_SVC_GRP_GET_AXIS_DESC(svc_grp, env) \
+ (svc_grp->ops->get_axis_desc(svc_grp, env))
+
+#define AXIS2_SVC_GRP_SET_AXIS_DESC(svc_grp, env, axis2_desc) \
+ (svc_grp->ops->set_axis_desc(svc_grp, env, axis2_desc))
+
+#define AXIS2_SVC_GRP_ADD_MODULEREF(svc_grp, env, moduleref) \
+ (svc_grp->ops->add_moduleref(svc_grp, env, moduleref))
+
+#define AXIS2_SVC_GRP_GET_MODULES(svc_grp, env) \
+ (svc_grp->ops->get_modules(svc_grp, env))
+
+
/**************************** End of function macros **************************/
/** @} */
Modified: webservices/axis2/trunk/c/modules/core/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/Makefile.am?rev=353975&r1=353974&r2=353975&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/Makefile.am Sun Dec 4 20:02:46 2005
@@ -1 +1 @@
-SUBDIRS = context engine handlers phaseresolver transport description
+SUBDIRS = context engine handlers phaseresolver transport description deployment
Modified: webservices/axis2/trunk/c/modules/core/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/Makefile.in?rev=353975&r1=353974&r2=353975&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/core/Makefile.in Sun Dec 4 20:02:46 2005
@@ -167,7 +167,7 @@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
-SUBDIRS = context engine handlers phaseresolver transport description
+SUBDIRS = context engine handlers phaseresolver transport description deployment
all: all-recursive
.SUFFIXES:
Added: webservices/axis2/trunk/c/modules/core/deployment/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/Makefile.am?rev=353975&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/Makefile.am (added)
+++ webservices/axis2/trunk/c/modules/core/deployment/Makefile.am Sun Dec 4 20:02:46 2005
@@ -0,0 +1 @@
+SUBDIRS = src
Added: webservices/axis2/trunk/c/modules/core/deployment/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/Makefile.in?rev=353975&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/Makefile.in (added)
+++ webservices/axis2/trunk/c/modules/core/deployment/Makefile.in Sun Dec 4 20:02:46 2005
@@ -0,0 +1,481 @@
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = modules/core/deployment
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/conftools/libtool.m4 \
+ $(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/axis2_config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-exec-recursive install-info-recursive \
+ install-recursive installcheck-recursive installdirs-recursive \
+ pdf-recursive ps-recursive uninstall-info-recursive \
+ uninstall-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PULL_PARSER = @PULL_PARSER@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+SUBDIRS = src
+all: all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu modules/core/deployment/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu modules/core/deployment/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(mkdir_p) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool \
+ distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-recursive
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+uninstall-info: uninstall-info-recursive
+
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
+ clean clean-generic clean-libtool clean-recursive ctags \
+ ctags-recursive distclean distclean-generic distclean-libtool \
+ distclean-recursive distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-exec install-exec-am install-info \
+ install-info-am install-man install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic maintainer-clean-recursive \
+ mostlyclean mostlyclean-generic mostlyclean-libtool \
+ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
+ uninstall uninstall-am uninstall-info-am
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.am?rev=353975&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.am (added)
+++ webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.am Sun Dec 4 20:02:46 2005
@@ -0,0 +1,11 @@
+lib_LTLIBRARIES = libaxis2_deployment.la
+AM_CPPFLAGS = $(CPPFLAGS)
+libaxis2_deployment_la_SOURCES = phases_info.c
+
+libaxis2_deployment_la_LIBADD = $(LDFLAGS)
+INCLUDES = -I${CUTEST_HOME}/include -I$(top_builddir)/include \
+ -I$(top_builddir)/modules/xml/guththila/src \
+ -I$(top_builddir)/modules/util/src \
+ -I$(top_builddir)/modules/wsdl/src \
+ -I$(top_builddir)/modules/core/transport \
+ -I$(top_builddir)/modules/core/description/src
Added: webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.in?rev=353975&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.in (added)
+++ webservices/axis2/trunk/c/modules/core/deployment/src/Makefile.in Sun Dec 4 20:02:46 2005
@@ -0,0 +1,475 @@
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+SOURCES = $(libaxis2_deployment_la_SOURCES)
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = modules/core/deployment/src
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/conftools/libtool.m4 \
+ $(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/axis2_config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(libdir)"
+libLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(lib_LTLIBRARIES)
+am__DEPENDENCIES_1 =
+libaxis2_deployment_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
+am_libaxis2_deployment_la_OBJECTS = phases_info.lo
+libaxis2_deployment_la_OBJECTS = $(am_libaxis2_deployment_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/conftools/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libaxis2_deployment_la_SOURCES)
+DIST_SOURCES = $(libaxis2_deployment_la_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+COND_CORE_FALSE = @COND_CORE_FALSE@
+COND_CORE_TRUE = @COND_CORE_TRUE@
+COND_TEST_FALSE = @COND_TEST_FALSE@
+COND_TEST_TRUE = @COND_TEST_TRUE@
+COND_XML_FALSE = @COND_XML_FALSE@
+COND_XML_TRUE = @COND_XML_TRUE@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PULL_PARSER = @PULL_PARSER@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+lib_LTLIBRARIES = libaxis2_deployment.la
+AM_CPPFLAGS = $(CPPFLAGS)
+libaxis2_deployment_la_SOURCES = phases_info.c
+libaxis2_deployment_la_LIBADD = $(LDFLAGS)
+INCLUDES = -I${CUTEST_HOME}/include -I$(top_builddir)/include \
+ -I$(top_builddir)/modules/xml/guththila/src \
+ -I$(top_builddir)/modules/util/src \
+ -I$(top_builddir)/modules/wsdl/src \
+ -I$(top_builddir)/modules/core/transport \
+ -I$(top_builddir)/modules/core/description/src
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu modules/core/deployment/src/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu modules/core/deployment/src/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-libLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+ done
+
+clean-libLTLIBRARIES:
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libaxis2_deployment.la: $(libaxis2_deployment_la_OBJECTS) $(libaxis2_deployment_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libaxis2_deployment_la_LDFLAGS) $(libaxis2_deployment_la_OBJECTS) $(libaxis2_deployment_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/phases_info.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES)
+installdirs:
+ for dir in "$(DESTDIR)$(libdir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am: install-libLTLIBRARIES
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libLTLIBRARIES clean-libtool ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am \
+ install-libLTLIBRARIES install-man install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-info-am \
+ uninstall-libLTLIBRARIES
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: webservices/axis2/trunk/c/modules/core/deployment/src/phases_info.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/src/phases_info.c?rev=353975&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/src/phases_info.c (added)
+++ webservices/axis2/trunk/c/modules/core/deployment/src/phases_info.c Sun Dec 4 20:02:46 2005
@@ -0,0 +1,515 @@
+#include <axis2_phases_info.h>
+
+/**
+ * @brief Phases Info struct impl
+ * Axis2 Phases Info impl
+ */
+typedef struct axis2_phases_info_impl
+{
+ axis2_phases_info_t phases_info;
+ axis2_array_list_t *inphases;
+ axis2_array_list_t *outphases;
+ axis2_array_list_t *in_faultphases;
+ axis2_array_list_t *out_faultphases;
+
+} axis2_phases_info_impl_t;
+
+#define AXIS2_INTF_TO_IMPL(phases_info) \
+ ((axis2_phases_info_impl_t *)(phases_info))
+
+/***************************** Function headers *******************************/
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_free (axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_inphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t *inphases);
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_outphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t *outphases);
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_in_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t *in_faultphases);
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_out_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t * out_faultphases);
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_inphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_outphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_in_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_out_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_operation_inphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_operation_outphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_operation_in_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_operation_out_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env);
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_operation_phases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ struct axis2_operation *axis2_opt);
+
+/***************************** End of function headers ************************/
+
+axis2_phases_info_t * AXIS2_CALL
+axis2_phases_info_create (axis2_env_t **env)
+{
+ AXIS2_ENV_CHECK(env, NULL);
+
+ axis2_phases_info_impl_t *phases_info_impl =
+ (axis2_phases_info_impl_t *) AXIS2_MALLOC ((*env)->allocator,
+ sizeof(axis2_phases_info_impl_t));
+
+ if(NULL == phases_info_impl)
+ {
+ AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, NULL);
+ }
+
+ phases_info_impl->inphases = NULL;
+ phases_info_impl->outphases = NULL;
+ phases_info_impl->in_faultphases = NULL;
+ phases_info_impl->out_faultphases = NULL;
+
+ phases_info_impl->phases_info.ops = (axis2_phases_info_ops_t *)
+ AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_phases_info_ops_t));
+
+ if(NULL == phases_info_impl->phases_info.ops)
+ {
+ AXIS2_FREE ((*env)->allocator, phases_info_impl);
+ phases_info_impl = NULL;
+ AXIS2_ERROR_SET ((*env)->error, AXIS2_ERROR_NO_MEMORY, NULL);
+ }
+
+ phases_info_impl->phases_info.ops->free = axis2_phases_info_free;
+
+ phases_info_impl->phases_info.ops->set_inphases =
+ axis2_phases_info_set_inphases;
+
+ phases_info_impl->phases_info.ops->set_outphases =
+ axis2_phases_info_set_outphases;
+
+ phases_info_impl->phases_info.ops->set_in_faultphases =
+ axis2_phases_info_set_in_faultphases;
+
+ phases_info_impl->phases_info.ops->set_out_faultphases =
+ axis2_phases_info_set_out_faultphases;
+
+ phases_info_impl->phases_info.ops->get_inphases =
+ axis2_phases_info_get_inphases;
+
+ phases_info_impl->phases_info.ops->get_outphases =
+ axis2_phases_info_get_outphases;
+
+ phases_info_impl->phases_info.ops->get_in_faultphases =
+ axis2_phases_info_get_in_faultphases;
+
+ phases_info_impl->phases_info.ops->get_out_faultphases =
+ axis2_phases_info_get_out_faultphases;
+
+ phases_info_impl->phases_info.ops->get_operation_inphases =
+ axis2_phases_info_get_operation_inphases;
+
+ phases_info_impl->phases_info.ops->get_operation_outphases =
+ axis2_phases_info_get_operation_outphases;
+
+ phases_info_impl->phases_info.ops->get_operation_in_faultphases =
+ axis2_phases_info_get_operation_in_faultphases;
+
+ phases_info_impl->phases_info.ops->get_operation_out_faultphases =
+ axis2_phases_info_get_operation_out_faultphases;
+
+ phases_info_impl->phases_info.ops->set_operation_phases =
+ axis2_phases_info_set_operation_phases;
+
+ return &(phases_info_impl->phases_info);
+}
+
+/******************************************************************************/
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_free (axis2_phases_info_t *phases_info,
+ axis2_env_t **env)
+{
+ axis2_phases_info_impl_t *phases_info_impl = NULL;
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, AXIS2_FAILURE);
+ phases_info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+
+ if(NULL != phases_info->ops)
+ {
+ AXIS2_FREE((*env)->allocator, phases_info->ops);
+ phases_info->ops = NULL;
+ }
+
+ if(NULL != phases_info_impl)
+ {
+ AXIS2_FREE((*env)->allocator, phases_info_impl);
+ phases_info_impl = NULL;
+ }
+
+ return AXIS2_SUCCESS;
+}
+
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_inphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t *inphases)
+{
+ axis2_phases_info_impl_t *info_impl = NULL;
+
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK((*env)->error, inphases, AXIS2_FAILURE);
+ info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+ if(info_impl->inphases)
+ AXIS2_ARRAY_LIST_FREE(info_impl->inphases, env);
+
+ info_impl->inphases = inphases;
+ return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_outphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t *outphases)
+{
+ axis2_phases_info_impl_t *info_impl = NULL;
+
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK((*env)->error, outphases, AXIS2_FAILURE);
+
+ info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+ if(info_impl->outphases)
+ AXIS2_ARRAY_LIST_FREE(info_impl->outphases, env);
+ info_impl->outphases = outphases;
+ return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_in_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t *in_faultphases)
+{
+ axis2_phases_info_impl_t *info_impl = NULL;
+
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK((*env)->error, in_faultphases, AXIS2_FAILURE);
+
+ info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+ if(info_impl->in_faultphases)
+ AXIS2_ARRAY_LIST_FREE(info_impl->in_faultphases, env);
+ info_impl->in_faultphases = in_faultphases;
+ return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_out_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ axis2_array_list_t * out_faultphases)
+{
+ axis2_phases_info_impl_t *info_impl = NULL;
+
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK((*env)->error, out_faultphases, AXIS2_FAILURE);
+
+ info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+ if(info_impl->out_faultphases)
+ AXIS2_ARRAY_LIST_FREE(info_impl->out_faultphases, env);
+
+ info_impl->out_faultphases = out_faultphases;
+ return AXIS2_SUCCESS;
+}
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_inphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env)
+{
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, NULL);
+
+ return AXIS2_INTF_TO_IMPL(phases_info)->inphases;
+}
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_outphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env)
+{
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, NULL);
+
+ return AXIS2_INTF_TO_IMPL(phases_info)->outphases;
+}
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_in_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env)
+{
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, NULL);
+
+ return AXIS2_INTF_TO_IMPL(phases_info)->in_faultphases;
+}
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_out_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env)
+{
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, NULL);
+
+ return AXIS2_INTF_TO_IMPL(phases_info)->out_faultphases;
+}
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_operation_inphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env)
+{
+ axis2_phases_info_impl_t *info_impl = NULL;
+ struct axis2_phase *phase = NULL;
+ int i = 0;
+ axis2_char_t *phase_name = NULL;
+ axis2_array_list_t * operation_inphases = NULL;
+ axis2_status_t status = AXIS2_FAILURE;
+
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, NULL);
+
+ info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+ operation_inphases = axis2_array_list_create(env, 0);
+ phase = axis2_phase_create(env, AXIS2_PHASE_POLICY_DETERMINATION);
+
+ status = AXIS2_ARRAY_LIST_ADD(operation_inphases, env, phase);
+ if(AXIS2_FAILURE == status)
+ {
+ AXIS2_PHASE_FREE(phase, env);
+ phase = NULL;
+ AXIS2_ARRAY_LIST_FREE(operation_inphases, env);
+ operation_inphases = NULL;
+ return NULL;
+ }
+ for (i = 0; i < AXIS2_ARRAY_LIST_SIZE(info_impl->inphases, env); i++)
+ {
+ phase_name = (axis2_char_t *) AXIS2_ARRAY_LIST_GET(info_impl->inphases, env, i);
+ if (0 == AXIS2_STRCMP(AXIS2_PHASE_TRANSPORTIN, phase_name) ||
+ 0 == AXIS2_STRCMP(AXIS2_PHASE_PRE_DISPATCH, phase_name) ||
+ 0 == AXIS2_STRCMP(AXIS2_PHASE_DISPATCH, phase_name) ||
+ 0 == AXIS2_STRCMP(AXIS2_PHASE_POST_DISPATCH, phase_name))
+ {
+ /* Do nothing */
+ } else
+ {
+ phase = axis2_phase_create(env, phase_name);
+ status = AXIS2_ARRAY_LIST_ADD(operation_inphases, env, phase);
+ if(AXIS2_FAILURE == status)
+ {
+ AXIS2_PHASE_FREE(phase, env);
+ phase = NULL;
+ AXIS2_ARRAY_LIST_FREE(operation_inphases, env);
+ operation_inphases = NULL;
+ return NULL;
+ }
+ }
+ }
+ return operation_inphases;
+}
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_operation_outphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env)
+{
+ axis2_phases_info_impl_t *info_impl = NULL;
+ struct axis2_phase *phase = NULL;
+ int i = 0;
+ axis2_char_t *phase_name = NULL;
+ axis2_array_list_t * operation_outphases = NULL;
+ axis2_status_t status = AXIS2_FAILURE;
+
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, NULL);
+
+ info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+ operation_outphases = axis2_array_list_create(env, 0);
+ for (i = 0; i < AXIS2_ARRAY_LIST_SIZE(info_impl->outphases, env); i++)
+ {
+ phase_name = (axis2_char_t *) AXIS2_ARRAY_LIST_GET(info_impl->outphases, env, i);
+ if (0 == AXIS2_STRCMP(AXIS2_PHASE_TRANSPORT_OUT, phase_name))
+ {
+ /* Do Nothing */
+ } else
+ {
+ phase = axis2_phase_create(env, phase_name);
+ status = AXIS2_ARRAY_LIST_ADD(operation_outphases, env, phase);
+ if(AXIS2_FAILURE == status)
+ {
+ AXIS2_PHASE_FREE(phase, env);
+ phase = NULL;
+ AXIS2_ARRAY_LIST_FREE(operation_outphases, env);
+ operation_outphases = NULL;
+ return NULL;
+ }
+ }
+ }
+ phase = axis2_phase_create(env, AXIS2_PHASE_POLICY_DETERMINATION);
+ status = AXIS2_ARRAY_LIST_ADD(operation_outphases, env, phase);
+ if(AXIS2_FAILURE == status)
+ {
+ AXIS2_PHASE_FREE(phase, env);
+ phase = NULL;
+ AXIS2_ARRAY_LIST_FREE(operation_outphases, env);
+ operation_outphases = NULL;
+ return NULL;
+ }
+ phase = axis2_phase_create(env, AXIS2_PHASE_MESSAGE_OUT);
+ status = AXIS2_ARRAY_LIST_ADD(operation_outphases, env, phase);
+ if(AXIS2_FAILURE == status)
+ {
+ AXIS2_PHASE_FREE(phase, env);
+ phase = NULL;
+ AXIS2_ARRAY_LIST_FREE(operation_outphases, env);
+ operation_outphases = NULL;
+ return NULL;
+
+ }
+ return operation_outphases;
+}
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_operation_in_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env)
+{
+ axis2_phases_info_impl_t *info_impl = NULL;
+ int i = 0;
+ axis2_status_t status = AXIS2_FAILURE;
+ axis2_char_t *phase_name = NULL;
+ axis2_array_list_t * operation_in_faultphases = NULL;
+ struct axis2_phase *phase = NULL;
+
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, NULL);
+
+ info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+ operation_in_faultphases = axis2_array_list_create(env, 0);
+
+ for (i = 0; i < AXIS2_ARRAY_LIST_SIZE(info_impl->in_faultphases, env); i++)
+ {
+ phase_name = (axis2_char_t *) AXIS2_ARRAY_LIST_GET(info_impl->in_faultphases, env, i);
+ phase = axis2_phase_create(env, phase_name);
+ status = AXIS2_ARRAY_LIST_ADD(operation_in_faultphases, env, phase);
+ if(AXIS2_FAILURE == status)
+ {
+ AXIS2_PHASE_FREE(phase, env);
+ phase = NULL;
+ AXIS2_ARRAY_LIST_FREE(operation_in_faultphases, env);
+ operation_in_faultphases = NULL;
+ return NULL;
+
+ }
+ }
+ return operation_in_faultphases;
+}
+
+axis2_array_list_t *AXIS2_CALL
+axis2_phases_info_get_operation_out_faultphases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env)
+{
+ axis2_phases_info_impl_t *info_impl = NULL;
+ int i = 0;
+ axis2_status_t status = AXIS2_FAILURE;
+ axis2_char_t *phase_name = NULL;
+ axis2_array_list_t * operation_out_faultphases = NULL;
+ struct axis2_phase *phase = NULL;
+
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, NULL);
+
+ info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+ operation_out_faultphases = axis2_array_list_create(env, 0);
+
+ for (i = 0; i < AXIS2_ARRAY_LIST_SIZE(info_impl->out_faultphases, env); i++)
+ {
+ phase_name = (axis2_char_t *) AXIS2_ARRAY_LIST_GET(info_impl->out_faultphases, env, i);
+ phase = axis2_phase_create(env, phase_name);
+ status = AXIS2_ARRAY_LIST_ADD(operation_out_faultphases, env, phase);
+ if(AXIS2_FAILURE == status)
+ {
+ AXIS2_PHASE_FREE(phase, env);
+ phase = NULL;
+ AXIS2_ARRAY_LIST_FREE(operation_out_faultphases, env);
+ operation_out_faultphases = NULL;
+ return NULL;
+
+ }
+ }
+ return operation_out_faultphases;
+}
+
+axis2_status_t AXIS2_CALL
+axis2_phases_info_set_operation_phases(axis2_phases_info_t *phases_info,
+ axis2_env_t **env,
+ struct axis2_operation *axis2_opt)
+{
+ axis2_status_t status = AXIS2_FAILURE;
+ axis2_array_list_t *operation_inphases = NULL;
+ axis2_array_list_t *operation_outphases = NULL;
+ axis2_array_list_t *operation_in_faultphases = NULL;
+ axis2_array_list_t *operation_out_faultphases = NULL;
+
+ axis2_phases_info_impl_t *info_impl = NULL;
+
+ AXIS2_FUNC_PARAM_CHECK(phases_info, env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK((*env)->error, axis2_opt, AXIS2_FAILURE);
+
+ info_impl = AXIS2_INTF_TO_IMPL(phases_info);
+
+ operation_inphases = axis2_phases_info_get_operation_inphases(phases_info, env);
+ if(NULL == operation_inphases)
+ return AXIS2_FAILURE;
+
+ operation_outphases = axis2_phases_info_get_operation_outphases(phases_info, env);
+ if(NULL == operation_outphases)
+ return AXIS2_FAILURE;
+
+ operation_in_faultphases = axis2_phases_info_get_operation_in_faultphases(phases_info, env);
+ if(NULL == operation_in_faultphases)
+ return AXIS2_FAILURE;
+
+ operation_out_faultphases = axis2_phases_info_get_operation_out_faultphases(phases_info, env);
+ if(NULL == operation_out_faultphases)
+ return AXIS2_FAILURE;
+
+ status = AXIS2_OPERATION_SET_REMAINING_PHASES_INFLOW(axis2_opt, env, operation_inphases);
+ if(AXIS2_FAILURE == status)
+ return status;
+ status = AXIS2_OPERATION_SET_PHASES_OUTFLOW(axis2_opt, env, operation_outphases);
+ if(AXIS2_FAILURE == status)
+ return status;
+ status = AXIS2_OPERATION_SET_PHASES_IN_FAULT_FLOW(axis2_opt, env, operation_in_faultphases);
+ if(AXIS2_FAILURE == status)
+ return status;
+ status = AXIS2_OPERATION_SET_PHASES_OUT_FAULT_FLOW(axis2_opt, env, operation_out_faultphases);
+
+ return status;
+
+}