axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r430047 - in /webservices/axis2/trunk/c/modules/core/deployment: axis2_dep_engine.h dep_engine.c
Date Wed, 09 Aug 2006 13:12:58 GMT
Author: pini
Date: Wed Aug  9 06:12:57 2006
New Revision: 430047

URL: http://svn.apache.org/viewvc?rev=430047&view=rev
Log:
More formatting fixes and parameter changes to const.

Modified:
    webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h
    webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c

Modified: webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h?rev=430047&r1=430046&r2=430047&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h Wed Aug  9 06:12:57 2006
@@ -17,6 +17,12 @@
 #ifndef AXIS2_DEP_ENGINE_H
 #define AXIS2_DEP_ENGINE_H
 
+/** 
+ * @defgroup axis2_dep_engine Deployment Engine
+ * @ingroup axis2_deployment
+ * @{
+ */
+
 /**
  * @file axis2_dep_engine.h
  * @brief Axis2 Deployment Engine interface
@@ -37,268 +43,394 @@
 extern "C"
 {
 #endif
-struct axis2_arch_file_data;
-struct axis2_arch_reader;
-struct axis2_ws_info;
-struct axis2_phases_info;
-struct axis2_svc;
-
-typedef struct axis2_dep_engine axis2_dep_engine_t;
-typedef struct axis2_dep_engine_ops axis2_dep_engine_ops_t;
-
-/** @defgroup axis2_dep_engine Deployment Engine
- * @ingroup axis2_deployment
- * @{
- */
+    struct axis2_arch_file_data;
+    struct axis2_arch_reader;
+    struct axis2_ws_info;
+    struct axis2_phases_info;
+    struct axis2_svc;
+
+    /** Type name for struct axis2_dep_engine */
+    typedef struct axis2_dep_engine axis2_dep_engine_t;
+    /** Type name for struct axis2_dep_engine_ops */
+    typedef struct axis2_dep_engine_ops axis2_dep_engine_ops_t;
 
-/** 
- * @brief Deployment Engine ops struct
- * Encapsulator struct for ops of axis2_dep_engine
- */
-AXIS2_DECLARE_DATA struct axis2_dep_engine_ops
-{
-   /** De-allocate memory
-      * @return status code
-      */
-   axis2_status_t (AXIS2_CALL *
-    free)(axis2_dep_engine_t *dep_engine,
-           const axis2_env_t *env);
-    
-    
-    /**
-     * while parsing the axis2.xml the module refferences have to be stored some 
-     * where , since at that time none of module availble (they load after parsing 
-     * the document)
-     * @param module_qname <code>QName</code>
-     */
-    axis2_status_t (AXIS2_CALL *
-    add_module) (axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_qname_t *module_qname);
-    
-    struct axis2_module_desc *(AXIS2_CALL *
-    get_module) (axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_qname_t *module_name);
-    
-    struct axis2_arch_file_data *(AXIS2_CALL *
-    get_current_file_item) (axis2_dep_engine_t *dep_engine,
-                                            const axis2_env_t *env);
-    
     /**
-     * @param file
+     * Deployment Engine ops struct
+     * Encapsulator struct for ops of axis2_dep_engine
      */
-    axis2_status_t (AXIS2_CALL *
-    add_ws_to_deploy) (axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env,
-                                        struct axis2_arch_file_data *file);
-    
-    /**
-     * @param file
-     */
-    axis2_status_t (AXIS2_CALL *
-    add_ws_to_undeploy) (axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env,
-                                        struct axis2_ws_info *file);
-    
-    struct axis2_phases_info *(AXIS2_CALL *
-    get_phases_info) (axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env);
-    
-    /**
-     * tio get ER
-     *
-     * @return AxisConfiguration <code>AxisConfiguration</code>
-     */
-    struct axis2_conf *(AXIS2_CALL *
-    get_axis_conf) (axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env);
-    
-    
-    struct axis2_conf *(AXIS2_CALL *
-    load) (axis2_dep_engine_t *dep_engine,
-                            const axis2_env_t *env);
-    
-    struct axis2_conf *(AXIS2_CALL *
-    load_client) (axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    const axis2_char_t *client_home);
-    
-    
-    void * (AXIS2_CALL *
-    get_handler_dll) (axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_char_t *dll_name);
-    
-    axis2_status_t (AXIS2_CALL *
-    do_deploy) (axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env);
-    
-    axis2_status_t (AXIS2_CALL *
-    undeploy) (axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env);
-    
-    axis2_bool_t (AXIS2_CALL *
-    is_hot_update) (axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env);
-    
-    
-    axis2_status_t (AXIS2_CALL *
-    set_phases_info) (axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env,
-                                        struct axis2_phases_info *phases_info);
-    
-    /**
-     * This method is used to fill a axisservice object using services.xml , first it should create
-     * an axisservice object using WSDL and then fill that using given servic.xml and load all the requed
-     * class and build the chains , finally add the  servicecontext to EngineContext and axisservice into
-     * EngineConfiguration
-     *
-     * @param axisService
-     * @param serviceInputStream
-     * @param classLoader
-     * @return
-     */
-    struct axis2_svc *(AXIS2_CALL *
-    build_svc) (axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                struct axis2_svc *svc,
-                                axis2_char_t *file_name);
-    
+    struct axis2_dep_engine_ops
+    {
+        /** 
+         * De-allocate memory
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
+        axis2_status_t (AXIS2_CALL *
+                free)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env);
+
+
+        /**
+         * while parsing the axis2.xml the module refferences have to be stored some 
+         * where , since at that time none of module availble (they load after parsing 
+         * the document)
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param module_qname <code>QName</code>
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
+        axis2_status_t (AXIS2_CALL *
+                add_module)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    axis2_qname_t *module_qname);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param module_name pointer to module name
+         */
+        struct axis2_module_desc *(AXIS2_CALL *
+                get_module)(
+                    const axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    axis2_qname_t *module_name);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         */
+        struct axis2_arch_file_data *(AXIS2_CALL *
+                get_current_file_item)(
+                    const axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param file pointer to file
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
+        axis2_status_t (AXIS2_CALL *
+                add_ws_to_deploy)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    struct axis2_arch_file_data *file);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param file pointer to file
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
+        axis2_status_t (AXIS2_CALL *
+                add_ws_to_undeploy)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    struct axis2_ws_info *file);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         */
+        struct axis2_phases_info *(AXIS2_CALL *
+                get_phases_info)(
+                    const axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env);
+
+        /**
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @return AxisConfiguration <code>AxisConfiguration</code>
+         */
+        struct axis2_conf *(AXIS2_CALL *
+                get_axis_conf)(
+                    const axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         */
+        struct axis2_conf *(AXIS2_CALL *
+                load)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         */
+        struct axis2_conf *(AXIS2_CALL *
+                load_client)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    const axis2_char_t *client_home);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param dll_name pointer to dll_name
+         */
+        void *(AXIS2_CALL *
+                get_handler_dll)(
+                    const axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    axis2_char_t *dll_name);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
+        axis2_status_t (AXIS2_CALL *
+                do_deploy)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
+        axis2_status_t (AXIS2_CALL *
+                undeploy)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         */
+        axis2_bool_t (AXIS2_CALL *
+                is_hot_update)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param phases_info pointer to phases info
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
+        axis2_status_t (AXIS2_CALL *
+                set_phases_info)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    struct axis2_phases_info *phases_info);
+
+        /**
+         * This method is used to fill a axisservice object using services.xml , first it should create
+         * an axisservice object using WSDL and then fill that using given servic.xml and load all the requed
+         * class and build the chains , finally add the  servicecontext to EngineContext and axisservice into
+         * EngineConfiguration
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param svc pointer to service
+         * @param file_name pointer to file name
+         */
+        struct axis2_svc *(AXIS2_CALL *
+                build_svc)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    struct axis2_svc *svc,
+                    axis2_char_t *file_name);
+
+        /**
+         * This method can be used to build ModuleDescription for a given module archiev file
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param module_archive pointer to module archive
+         * @param conf pointer to conf
+         */
+        struct axis2_module_desc *(AXIS2_CALL *
+                build_module)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    axis2_file_t *module_archive,
+                    struct axis2_conf *conf);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         */
+        axis2_char_t *(AXIS2_CALL *
+                get_repos_path)(
+                    const axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param file_data pointer to file data
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
+        axis2_status_t (AXIS2_CALL *
+                set_current_file_item)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    struct axis2_arch_file_data *file_data);
+
+        /** 
+         * @param dep_engine pointer to deployment engine
+         * @param env pointer to environment struct
+         * @param arch_reader pointer to arch reader
+         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+         */
+        axis2_status_t (AXIS2_CALL *
+                set_arch_reader)(
+                    axis2_dep_engine_t *dep_engine,
+                    const axis2_env_t *env,
+                    struct axis2_arch_reader *arch_reader);
+    };
+
     /**
-     * This method can be used to build ModuleDescription for a given module archiev file
-     *
-     * @param modulearchive
-     * @return
+     * Deployment Engine struct 
      */
-    
-    struct axis2_module_desc *(AXIS2_CALL *
-    build_module) (axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_file_t *module_archive,
-                                    struct axis2_conf *conf); 
-
-    axis2_char_t *(AXIS2_CALL *
-    get_repos_path) (axis2_dep_engine_t *dep_engine,
-                        const axis2_env_t *env);
-                        
-    axis2_status_t (AXIS2_CALL *
-    set_current_file_item)(axis2_dep_engine_t *dep_engine,
-                            const axis2_env_t *env,
-                            struct axis2_arch_file_data *file_data);                        
-                                       
-    axis2_status_t (AXIS2_CALL *
-    set_arch_reader)(axis2_dep_engine_t *dep_engine,
-                        const axis2_env_t *env,
-                        struct axis2_arch_reader *arch_reader);
-    
-};
-    
-    /** 
-     * @brief Deployment Engine struct 
-     */  
-    AXIS2_DECLARE_DATA struct axis2_dep_engine
+    struct axis2_dep_engine
     {
+        /** Operations of deployment engine */
         axis2_dep_engine_ops_t *ops;
-        
     };
-    
+
     /**
      * No param constructor is need to deploye module and service programatically
+     * @param env pointer to environment struct
      * @return pointer to newly created deployment engine
      */
-    AXIS2_EXTERN axis2_dep_engine_t * AXIS2_CALL
-    axis2_dep_engine_create (const axis2_env_t *env);
-    
+    AXIS2_EXTERN axis2_dep_engine_t *AXIS2_CALL
+    axis2_dep_engine_create(
+        const axis2_env_t *env);
+
     /**
      * Creates description builder struct
      * This the constructor which is used by Engine in order to start
      * Deployment module,
-     *
+     * @param env pointer to environment struct
      * @param repos_path is the path to which Repositary Listner should listen.
      * @return pointer to newly created deployment engine
      */
-    AXIS2_EXTERN axis2_dep_engine_t * AXIS2_CALL
-    axis2_dep_engine_create_with_repos_name (
-                                            const axis2_env_t *env, 
-                                            const axis2_char_t *repos_path);
+    AXIS2_EXTERN axis2_dep_engine_t *AXIS2_CALL
+    axis2_dep_engine_create_with_repos_name(
+        const axis2_env_t *env,
+        const axis2_char_t *repos_path);
+
     /**
      * Creates deployment engine struct
+     * @param env pointer to environment struct
      * @param repos_path is the path to which Repositary Listner should listen.
-     * @param svr_xml_file
+     * @param svr_xml_file pointer to service xml file
      * @return pointer to newly created deployment engine
      */
-    AXIS2_EXTERN axis2_dep_engine_t * AXIS2_CALL 
-    axis2_dep_engine_create_with_repos_name_and_svr_xml_file (
-                                            const axis2_env_t *env, 
-                                            const axis2_char_t *repos_path, 
-                                            const axis2_char_t *svr_xml_file);                                            
-
-
+    AXIS2_EXTERN axis2_dep_engine_t *AXIS2_CALL
+    axis2_dep_engine_create_with_repos_name_and_svr_xml_file(
+        const axis2_env_t *env,
+        const axis2_char_t *repos_path,
+        const axis2_char_t *svr_xml_file);
 
 /*************************** Function macros **********************************/
 
-
+/** Frees the deployment engine.
+    @sa axis2_dep_engine_ops#free */
 #define AXIS2_DEP_ENGINE_FREE(dep_engine, env) \
-      ((dep_engine)->ops->free (dep_engine, env))  
+      ((dep_engine)->ops->free (dep_engine, env))
 
+/** Adds the module.
+    @sa axis2_dep_engine_ops#add_module */
 #define AXIS2_DEP_ENGINE_ADD_MODULE(dep_engine, env, module_qname) \
       ((dep_engine)->ops->add_module (dep_engine, env, module_qname))
-        
+
+/** Get module.
+    @sa axis2_dep_engine_ops#get_module */
 #define AXIS2_DEP_ENGINE_GET_MODULE(dep_engine, env, module_qname) \
       ((dep_engine)->ops->get_module (dep_engine, env, module_qname))
-        
+
+/** Gets the current file item.
+    @sa axis2_dep_engine_ops#get_current_file_item */
 #define AXIS2_DEP_ENGINE_GET_CURRENT_FILE_ITEM(dep_engine, env) \
-      ((dep_engine)->ops->get_current_file_item (dep_engine, env))        
- 
-#define AXIS2_DEP_ENGINE_ADD_WS_TO_DEPLOY(dep_engine, env, file) \
-      ((dep_engine)->ops->add_ws_to_deploy (dep_engine, env, file))  
+      ((dep_engine)->ops->get_current_file_item (dep_engine, env))
 
+/** Adds web service to deploy.
+    @sa axis2_dep_engine_ops#add_ws_to_deploy */
+#define AXIS2_DEP_ENGINE_ADD_WS_TO_DEPLOY(dep_engine, env, file) \
+      ((dep_engine)->ops->add_ws_to_deploy (dep_engine, env, file))
 
+/** Adds web service to undelploy
+    @sa axis2_dep_engine_ops#add_ws_to_undeploy */
 #define AXIS2_DEP_ENGINE_ADD_WS_TO_UNDEPLOY(dep_engine, env, file) \
-      ((dep_engine)->ops->add_ws_to_undeploy (dep_engine, env, file)) 
+      ((dep_engine)->ops->add_ws_to_undeploy (dep_engine, env, file))
 
+/** Do deploy.
+    @sa axis2_dep_engine_ops#do_deploy */
 #define AXIS2_DEP_ENGINE_DO_DEPLOY(dep_engine, env) \
-      ((dep_engine)->ops->do_deploy (dep_engine, env)) 
+      ((dep_engine)->ops->do_deploy (dep_engine, env))
 
+/** Undeploy.
+    @sa axis2_dep_engine_ops#undeploy */
 #define AXIS2_DEP_ENGINE_UNDEPLOY(dep_engine, env) \
-      ((dep_engine)->ops->undeploy (dep_engine, env)) 
+      ((dep_engine)->ops->undeploy (dep_engine, env))
 
+/** Gets the phases infomation..
+    @sa axis2_dep_engine_ops#get_phases_info */
 #define AXIS2_DEP_ENGINE_GET_PHASES_INFO(dep_engine, env) \
-      ((dep_engine)->ops->get_phases_info (dep_engine, env)) 
+      ((dep_engine)->ops->get_phases_info (dep_engine, env))
 
+/** Gets the axis2 configuration.
+    @sa axis2_dep_engine_ops#get_axis2_conf */
 #define AXIS2_DEP_ENGINE_GET_AXIS2_CONF(dep_engine, env) \
-      ((dep_engine)->ops->get_axis_conf (dep_engine, env)) 
+      ((dep_engine)->ops->get_axis_conf (dep_engine, env))
 
+/** Load.
+    @sa axis2_dep_engine_ops#load */
 #define AXIS2_DEP_ENGINE_LOAD(dep_engine, env) \
       ((dep_engine)->ops->load (dep_engine, env))
-        
+
+/** Loads the client.
+    @sa axis2_dep_engine_ops#load_client */
 #define AXIS2_DEP_ENGINE_LOAD_CLIENT(dep_engine, env, client_home) \
       ((dep_engine)->ops->load_client (dep_engine, env, client_home))
 
+/** Gets the handler dll.
+    @sa axis2_dep_engine_ops#get_handler_dll */
 #define AXIS2_DEP_ENGINE_GET_HANDLER_DLL(dep_engine, env, dll_name) \
       ((dep_engine)->ops->get_handler_dll (dep_engine, env, dll_name))
-        
+
+/** Is hot update.
+    @sa axis2_dep_engine_ops#is_hot_update */
 #define AXIS2_DEP_ENGINE_IS_HOT_UPDATE(dep_engine, env) \
       ((dep_engine)->ops->is_hot_update (dep_engine, env))
 
+/** Sets phases info.
+    @sa axis2_dep_engine_ops#set_phases_info */
 #define AXIS2_DEP_ENGINE_SET_PHASES_INFO(dep_engine, env, phases_info) \
       ((dep_engine)->ops->set_phases_info (dep_engine, env, phases_info))
-        
+
+/** Build the service.
+    @sa axis2_dep_engine_ops#build_svc */
 #define AXIS2_DEP_ENGINE_BUILD_SVC(dep_engine, env, svc, file_name) \
       ((dep_engine)->ops->build_svc (dep_engine, env, svc, file_name))
 
+/** Builds the module.
+    @sa axis2_dep_engine_ops#build_module */
 #define AXIS2_DEP_ENGINE_BUILD_MODULE(dep_engine, env, module_archive, conf) \
       ((dep_engine)->ops->build_module (dep_engine, env, module_archive, conf))
 
+/** Gets the repos path.
+    @sa axis2_dep_engine_ops#get_repos_path */
 #define AXIS2_DEP_ENGINE_GET_REPOS_PATH(dep_engine, env) \
       ((dep_engine)->ops->get_repos_path (dep_engine, env))
- 
+
+/** Sets the current file item.
+    @sa axis2_dep_engine_ops#set_current_file_item */
 #define AXIS2_DEP_ENGINE_SET_CURRENT_FILE_ITEM(dep_engine, env, file_data) \
-      ((dep_engine)->ops->set_current_file_item (dep_engine, env, file_data)) 
-        
+      ((dep_engine)->ops->set_current_file_item (dep_engine, env, file_data))
+
+/** Sets the arch reader.
+    @sa axis2_dep_engine_ops#set_arch_reader */
 #define AXIS2_DEP_ENGINE_SET_ARCH_READER(dep_engine, env, arch_reader) \
-      ((dep_engine)->ops->set_arch_reader (dep_engine, env, arch_reader)) 
+      ((dep_engine)->ops->set_arch_reader (dep_engine, env, arch_reader))
 
 /*************************** End of function macros ***************************/
 

Modified: webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c?rev=430047&r1=430046&r2=430047&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c Wed Aug  9 06:12:57 2006
@@ -72,218 +72,225 @@
     axis2_repos_listener_t *repos_listener; /*Added this here to help with feeing memory allocated for this - Samisa*/
     axis2_conf_builder_t *conf_builder;
     axis2_svc_builder_t *svc_builder;
-} axis2_dep_engine_impl_t;
+}
+axis2_dep_engine_impl_t;
 
 #define AXIS2_INTF_TO_IMPL(dep_engine) ((axis2_dep_engine_impl_t *) dep_engine)
    
 /*************************** Function headers *********************************/
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_free (axis2_dep_engine_t *dep_engine,
-                            const axis2_env_t *env);
+axis2_dep_engine_free(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_add_module(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_qname_t *module_qname);
+axis2_dep_engine_add_module(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_qname_t *module_qname);
     
 axis2_module_desc_t *AXIS2_CALL
-axis2_dep_engine_get_module(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_qname_t *module_name);
+axis2_dep_engine_get_module(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_qname_t *module_name);
 
 axis2_arch_file_data_t *AXIS2_CALL
-axis2_dep_engine_get_current_file_item(axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env);
+axis2_dep_engine_get_current_file_item(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
                                         
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_set_current_file_item(axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env,
-                                        axis2_arch_file_data_t *file_data);                                        
+axis2_dep_engine_set_current_file_item(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_arch_file_data_t *file_data);                                        
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_set_arch_reader(axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env,
-                                        axis2_arch_reader_t *arch_reader);
+axis2_dep_engine_set_arch_reader(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_arch_reader_t *arch_reader);
 
-/**
- * @param file
- */
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_add_ws_to_deploy(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_arch_file_data_t *file);
+axis2_dep_engine_add_ws_to_deploy(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_arch_file_data_t *file);
 
-/**
- * @param file
- */
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_add_ws_to_undeploy(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_ws_info_t *file);
+axis2_dep_engine_add_ws_to_undeploy(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_ws_info_t *file);
 
 axis2_phases_info_t *AXIS2_CALL
-axis2_dep_engine_get_phases_info(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env);
+axis2_dep_engine_get_phases_info(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 /**
- * tio get ER
- *
  * @return AxisConfiguration <code>AxisConfiguration</code>
  */
 axis2_conf_t *AXIS2_CALL
-axis2_dep_engine_get_axis_conf(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env);
+axis2_dep_engine_get_axis_conf(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 /**
  * To set hotDeployment and hot update
  */
 static axis2_status_t
-axis2_dep_engine_set_dep_features(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env);
+axis2_dep_engine_set_dep_features(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 axis2_conf_t *AXIS2_CALL
-axis2_dep_engine_load(axis2_dep_engine_t *dep_engine,
-                        const axis2_env_t *env);
+axis2_dep_engine_load(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 axis2_conf_t *AXIS2_CALL
-axis2_dep_engine_load_client(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                const axis2_char_t *client_home);
+axis2_dep_engine_load_client(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    const axis2_char_t *client_home);
 
 static axis2_status_t
-axis2_dep_engine_check_client_home(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    const axis2_char_t *client_home);
+axis2_dep_engine_check_client_home(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    const axis2_char_t *client_home);
 
 /**
  * This methode used to check the modules referd by server.xml
  * are exist , or they have deployed
  */
 static axis2_status_t
-axis2_dep_engine_engage_modules(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env);
+axis2_dep_engine_engage_modules(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 /**
  * This method is to check wether some one has change the system pre defined phases for all the
  * flows if some one has done so will set an error code
- *
  */
 static axis2_status_t
-axis2_dep_engine_validate_system_predefined_phases(axis2_dep_engine_t *dep_engine,
-                                                    const axis2_env_t *env);
+axis2_dep_engine_validate_system_predefined_phases(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 static axis2_status_t
-axis2_dep_engine_add_new_svc(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_svc_grp_t *svc_metadata);
+axis2_dep_engine_add_new_svc(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_svc_grp_t *svc_metadata);
 
 /**
  * This method is used to fill the axis service , it dose loading service class and also the provider class
  * and it will also load the service handlers
- *
- * @param axisService
  */
 static axis2_status_t
-axis2_dep_engine_load_svc_props(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_svc_t *svc);
+axis2_dep_engine_load_svc_props(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_svc_t *svc);
 
 static axis2_status_t
-axis2_dep_engine_load_module_dll(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_module_desc_t *module_desc);
+axis2_dep_engine_load_module_dll(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_module_desc_t *module_desc);
 
 static axis2_status_t
-axis2_dep_engine_add_module_flow_handlers(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_flow_t *flow,
-                                    axis2_hash_t *handler_create_func_map);
+axis2_dep_engine_add_module_flow_handlers(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_flow_t *flow,
+    axis2_hash_t *handler_create_func_map);
 
 static axis2_status_t
-axis2_dep_engine_add_flow_handlers(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_flow_t *flow);
-
-
-void * AXIS2_CALL
-axis2_dep_engine_get_handler_dll(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_char_t *dll_name);
-
+axis2_dep_engine_add_flow_handlers(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_flow_t *flow);
+
+void *AXIS2_CALL
+axis2_dep_engine_get_handler_dll(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_char_t *dll_name);
 
 static axis2_status_t
-axis2_dep_engine_add_new_module(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_module_desc_t *module_metadata);
+axis2_dep_engine_add_new_module(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_module_desc_t *module_metadata);
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_do_deploy(axis2_dep_engine_t *dep_engine,
-                            const axis2_env_t *env);
+axis2_dep_engine_do_deploy(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_undeploy(axis2_dep_engine_t *dep_engine,
-                            const axis2_env_t *env);
+axis2_dep_engine_undeploy(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 axis2_bool_t AXIS2_CALL
-axis2_dep_engine_is_hot_update(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env);
+axis2_dep_engine_is_hot_update(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);
 
 /**
  * This method is used to retrive service name form the arechive file name
  * if the archive file name is service1.aar , then axis service name would be service1
- *
- * @param fileName
- * @return String
  */
 static axis2_char_t *
-axis2_dep_engine_get_axis_svc_name(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_char_t *file_name);
+axis2_dep_engine_get_axis_svc_name(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_char_t *file_name);
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_set_phases_info(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_phases_info_t *phases_info);
+axis2_dep_engine_set_phases_info(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_phases_info_t *phases_info);
 
 /**
  * This method is used to fill a axisservice object using services.xml , first it should create
  * an axisservice object using WSDL and then fill that using given servic.xml and load all the requed
  * class and build the chains , finally add the  servicecontext to EngineContext and axisservice into
- * EngineConfiguration
- *
- * @param axisService
- * @param serviceInputStream
- * @param classLoader
- * @return
  */
 axis2_svc_t *AXIS2_CALL
-axis2_dep_engine_build_svc(axis2_dep_engine_t *dep_engine,
-                            const axis2_env_t *env,
-                            axis2_svc_t *svc,
-                            axis2_char_t *file_name);
+axis2_dep_engine_build_svc(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_svc_t *svc,
+    axis2_char_t *file_name);
 
 /**
  * This method can be used to build ModuleDescription for a given module archiev file
- *
- * @param modulearchive
- * @return
  */
-
 axis2_module_desc_t *AXIS2_CALL
-axis2_dep_engine_build_module(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_file_t *module_archive,
-                                axis2_conf_t *conf);  
+axis2_dep_engine_build_module(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_file_t *module_archive,
+    axis2_conf_t *conf);  
                                 
 axis2_char_t *AXIS2_CALL
-axis2_dep_engine_get_repos_path(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env);                                
+axis2_dep_engine_get_repos_path(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env);                                
   
 /************************* End of function headers ****************************/   
 
 axis2_dep_engine_t *AXIS2_CALL
-axis2_dep_engine_create(const axis2_env_t *env)
+axis2_dep_engine_create(
+    const axis2_env_t *env)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     
@@ -369,9 +376,9 @@
     return &(dep_engine_impl->dep_engine);
 }
 axis2_dep_engine_t *AXIS2_CALL 
-axis2_dep_engine_create_with_repos_name (
-                                        const axis2_env_t *env, 
-                                        const axis2_char_t *repos_path)
+axis2_dep_engine_create_with_repos_name(
+    const axis2_env_t *env, 
+    const axis2_char_t *repos_path)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     
@@ -389,9 +396,10 @@
 }
 
 axis2_dep_engine_t *AXIS2_CALL
-axis2_dep_engine_create_with_repos_name_and_svr_xml_file(const axis2_env_t *env,
-                                                    const axis2_char_t *repos_path,
-                                                    const axis2_char_t *svr_xml_file)
+axis2_dep_engine_create_with_repos_name_and_svr_xml_file(
+    const axis2_env_t *env,
+    const axis2_char_t *repos_path,
+    const axis2_char_t *svr_xml_file)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_char_t *conf_file_l = NULL;
@@ -464,8 +472,9 @@
 /******************************************************************************/
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_free (axis2_dep_engine_t *dep_engine,
-                        const axis2_env_t *env)
+axis2_dep_engine_free (
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     
@@ -595,9 +604,10 @@
 
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_add_module(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_qname_t *module_qname) 
+axis2_dep_engine_add_module(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_qname_t *module_qname) 
 {
     axis2_qname_t *qname = NULL;
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
@@ -620,9 +630,10 @@
 }
     
 struct axis2_module_desc *AXIS2_CALL
-axis2_dep_engine_get_module(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_qname_t *module_name) 
+axis2_dep_engine_get_module(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_qname_t *module_name) 
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     
@@ -634,21 +645,20 @@
 }
 
 struct axis2_arch_file_data *AXIS2_CALL
-axis2_dep_engine_get_current_file_item(axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env)
+axis2_dep_engine_get_current_file_item(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(dep_engine)->curr_file;
 }
 
-/**
- * @param file
- */
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_add_ws_to_deploy(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_arch_file_data_t *file) 
+axis2_dep_engine_add_ws_to_deploy(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_arch_file_data_t *file) 
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -658,13 +668,11 @@
     return AXIS2_ARRAY_LIST_ADD(dep_engine_impl->ws_to_deploy, env, file);
 }
 
-/**
- * @param file
- */
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_add_ws_to_undeploy(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_ws_info_t *file) 
+axis2_dep_engine_add_ws_to_undeploy(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_ws_info_t *file) 
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -678,21 +686,18 @@
 }
 
 axis2_phases_info_t *AXIS2_CALL
-axis2_dep_engine_get_phases_info(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env)
+axis2_dep_engine_get_phases_info(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(dep_engine)->phases_info;
 }
 
-/**
- * tio get ER
- *
- * @return AxisConfiguration <code>AxisConfiguration</code>
- */
 axis2_conf_t *AXIS2_CALL
-axis2_dep_engine_get_axis_conf(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env) 
+axis2_dep_engine_get_axis_conf(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     
@@ -703,8 +708,9 @@
  * To set hotDeployment and hot update
  */
 static axis2_status_t
-axis2_dep_engine_set_dep_features(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env) 
+axis2_dep_engine_set_dep_features(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env) 
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_char_t *value = NULL;
@@ -740,8 +746,9 @@
 }
 
 axis2_conf_t *AXIS2_CALL
-axis2_dep_engine_load(axis2_dep_engine_t *dep_engine,
-                        const axis2_env_t *env) 
+axis2_dep_engine_load(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env) 
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_status_t status = AXIS2_FAILURE;
@@ -844,9 +851,10 @@
 
 
 axis2_conf_t *AXIS2_CALL
-axis2_dep_engine_load_client(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                const axis2_char_t *client_home) 
+axis2_dep_engine_load_client(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    const axis2_char_t *client_home) 
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_bool_t is_repos_exist = AXIS2_FALSE;
@@ -935,9 +943,10 @@
 
 
 static axis2_status_t
-axis2_dep_engine_check_client_home(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    const axis2_char_t *client_home)
+axis2_dep_engine_check_client_home(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    const axis2_char_t *client_home)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_char_t *path_l = NULL;
@@ -976,8 +985,9 @@
 }
 
 static axis2_status_t
-axis2_dep_engine_engage_modules(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env)
+axis2_dep_engine_engage_modules(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     int size = 0;
@@ -1011,8 +1021,9 @@
 }
 
 static axis2_status_t
-axis2_dep_engine_validate_system_predefined_phases(axis2_dep_engine_t *dep_engine,
-                                                    const axis2_env_t *env) 
+axis2_dep_engine_validate_system_predefined_phases(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env) 
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_array_list_t *in_phases = NULL;
@@ -1047,9 +1058,9 @@
 
 static axis2_status_t
 axis2_dep_engine_add_new_svc(
-        axis2_dep_engine_t *dep_engine,
-            const axis2_env_t *env,
-            axis2_svc_grp_t *svc_metadata)
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_svc_grp_t *svc_metadata)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_array_list_t *svcs = NULL;
@@ -1143,7 +1154,7 @@
         for (index_i = axis2_hash_first (ops, env); index_i; index_i = 
             axis2_hash_next (env, index_i))
         {
-            void * v = NULL;
+            void *v = NULL;
             axis2_op_t *op_desc = NULL;
             axis2_array_list_t *modules = NULL;
             int sizek = 0;
@@ -1184,9 +1195,10 @@
 }
 
 static axis2_status_t
-axis2_dep_engine_load_svc_props(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_svc_t *svc)
+axis2_dep_engine_load_svc_props(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_svc_t *svc)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_flow_t *in_flow = NULL;
@@ -1226,9 +1238,10 @@
 
 
 static axis2_status_t
-axis2_dep_engine_load_module_dll(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_module_desc_t *module_desc)
+axis2_dep_engine_load_module_dll(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_module_desc_t *module_desc)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_char_t *read_in_dll = NULL;
@@ -1290,10 +1303,11 @@
 
 
 static axis2_status_t
-axis2_dep_engine_add_module_flow_handlers(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_flow_t *flow,
-                                    axis2_hash_t *handler_create_func_map)
+axis2_dep_engine_add_module_flow_handlers(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_flow_t *flow,
+    axis2_hash_t *handler_create_func_map)
 {
     int count = 0;
     int j = 0;
@@ -1324,9 +1338,10 @@
 }
 
 static axis2_status_t
-axis2_dep_engine_add_flow_handlers(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_flow_t *flow)
+axis2_dep_engine_add_flow_handlers(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_flow_t *flow)
 {
     int count = 0;
     int j = 0;
@@ -1366,10 +1381,11 @@
     return AXIS2_SUCCESS;
 }
 
-void * AXIS2_CALL
-axis2_dep_engine_get_handler_dll(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_char_t *class_name)
+void *AXIS2_CALL
+axis2_dep_engine_get_handler_dll(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_char_t *class_name)
 {
     axis2_dll_desc_t *dll_desc = NULL;
     axis2_param_t *impl_info_param = NULL;
@@ -1397,9 +1413,10 @@
 
 
 static axis2_status_t
-axis2_dep_engine_add_new_module(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_module_desc_t *module_metadata)
+axis2_dep_engine_add_new_module(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_module_desc_t *module_metadata)
 {
     axis2_flow_t *in_flow = NULL;
     axis2_flow_t *out_flow = NULL;
@@ -1459,8 +1476,9 @@
 }
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_do_deploy(axis2_dep_engine_t *dep_engine,
-                            const axis2_env_t *env)
+axis2_dep_engine_do_deploy(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     int size = 0;
@@ -1556,8 +1574,9 @@
 }
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_undeploy(axis2_dep_engine_t *dep_engine,
-                            const axis2_env_t *env)
+axis2_dep_engine_undeploy(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     int size = 0;
@@ -1599,22 +1618,24 @@
 }
 
 axis2_bool_t AXIS2_CALL
-axis2_dep_engine_is_hot_update(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env) 
+axis2_dep_engine_is_hot_update(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(dep_engine)->hot_update;
 }
 
 static axis2_char_t *
-axis2_dep_engine_get_axis_svc_name(axis2_dep_engine_t *dep_engine,
-                                    const axis2_env_t *env,
-                                    axis2_char_t *file_name) 
+axis2_dep_engine_get_axis_svc_name(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_char_t *file_name) 
 {
     axis2_char_t name_sep = '.';
     axis2_char_t *temp_name = NULL;
     axis2_char_t *ptr = NULL;
-    axis2_char_t* file_name_l = NULL;
+    axis2_char_t *file_name_l = NULL;
     axis2_char_t *svc_name = NULL;
     int len = 0;
 
@@ -1633,9 +1654,9 @@
 
 axis2_status_t AXIS2_CALL
 axis2_dep_engine_set_phases_info(
-        axis2_dep_engine_t *dep_engine,
-        const axis2_env_t *env,
-        axis2_phases_info_t *phases_info) 
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_phases_info_t *phases_info) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, phases_info, AXIS2_FAILURE);
@@ -1648,17 +1669,13 @@
  * an axisservice object using WSDL and then fill that using given servic.xml and load all the requed
  * class and build the chains , finally add the  servicecontext to EngineContext and axisservice into
  * EngineConfiguration
- *
- * @param axisService
- * @param serviceInputStream
- * @param classLoader
- * @return
  */
 axis2_svc_t *AXIS2_CALL
-axis2_dep_engine_build_svc(axis2_dep_engine_t *dep_engine,
-                            const axis2_env_t *env,
-                            axis2_svc_t *svc,
-                            axis2_char_t *file_name)
+axis2_dep_engine_build_svc(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_svc_t *svc,
+    axis2_char_t *file_name)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axiom_node_t *node = NULL;
@@ -1684,16 +1701,13 @@
 
 /**
  * This method can be used to build ModuleDescription for a given module archiev file
- *
- * @param modulearchive
- * @return
  */
-
 axis2_module_desc_t *AXIS2_CALL
-axis2_dep_engine_build_module(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env,
-                                axis2_file_t *module_archive,
-                                axis2_conf_t *conf)
+axis2_dep_engine_build_module(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_file_t *module_archive,
+    axis2_conf_t *conf)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_module_desc_t *module_desc = NULL;
@@ -1771,16 +1785,18 @@
 }
 
 axis2_char_t *AXIS2_CALL
-axis2_dep_engine_get_repos_path(axis2_dep_engine_t *dep_engine,
-                                const axis2_env_t *env)
+axis2_dep_engine_get_repos_path(
+    const axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env)
 {
     return AXIS2_INTF_TO_IMPL(dep_engine)->folder_name;
 }
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_set_current_file_item(axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env,
-                                        axis2_arch_file_data_t *file_data)
+axis2_dep_engine_set_current_file_item(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_arch_file_data_t *file_data)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     
@@ -1798,9 +1814,10 @@
 
 
 axis2_status_t AXIS2_CALL
-axis2_dep_engine_set_arch_reader(axis2_dep_engine_t *dep_engine,
-                                        const axis2_env_t *env,
-                                        axis2_arch_reader_t *arch_reader)
+axis2_dep_engine_set_arch_reader(
+    axis2_dep_engine_t *dep_engine,
+    const axis2_env_t *env,
+    axis2_arch_reader_t *arch_reader)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     
@@ -1815,5 +1832,3 @@
     dep_engine_impl->arch_reader = arch_reader;
     return AXIS2_SUCCESS;
 }
-
-



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message