Author: damitha
Date: Fri Dec 15 00:33:16 2006
New Revision: 487482

URL: http://svn.apache.org/viewvc?view=rev&rev=487482
Log:
Initial coding in storage abstraction is done. Need to test it with
sqlite datebase.

Modified:
    webservices/sandesha/trunk/c/include/sandesha2_permanent_create_seq_mgr.h
    webservices/sandesha/trunk/c/include/sandesha2_permanent_invoker_mgr.h
    webservices/sandesha/trunk/c/include/sandesha2_permanent_next_msg_mgr.h
    webservices/sandesha/trunk/c/include/sandesha2_permanent_sender_mgr.h
    webservices/sandesha/trunk/c/include/sandesha2_permanent_seq_property_mgr.h
    webservices/sandesha/trunk/c/include/sandesha2_property_bean.h
    webservices/sandesha/trunk/c/src/core/mod_sandesha2.c
    webservices/sandesha/trunk/c/src/storage/permanent/permanent_bean_mgr.c
    
webservices/sandesha/trunk/c/src/storage/permanent/permanent_create_seq_mgr.c
    webservices/sandesha/trunk/c/src/storage/permanent/permanent_invoker_mgr.c
    webservices/sandesha/trunk/c/src/storage/permanent/permanent_next_msg_mgr.c
    webservices/sandesha/trunk/c/src/storage/permanent/permanent_sender_mgr.c
    
webservices/sandesha/trunk/c/src/storage/permanent/permanent_seq_property_mgr.c
    webservices/sandesha/trunk/c/src/storage/permanent/permanent_storage_mgr.c
    
webservices/sandesha/trunk/c/src/storage/permanent/sandesha2_permanent_bean_mgr.h
    webservices/sandesha/trunk/c/src/util/property_bean.c

Modified: 
webservices/sandesha/trunk/c/include/sandesha2_permanent_create_seq_mgr.h
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2_permanent_create_seq_mgr.h?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2_permanent_create_seq_mgr.h 
(original)
+++ webservices/sandesha/trunk/c/include/sandesha2_permanent_create_seq_mgr.h 
Fri Dec 15 00:33:16 2006
@@ -34,7 +34,7 @@
 #endif
 
 struct sandesha2_storage_mgr;
-struct axis2_ctx;
+struct axis2_conf_ctx;
 
 /** @defgroup sandesha2_permanent_create_seq_mgr Permanat Create Sequence 
Manager
   * @ingroup sandesha2
@@ -45,7 +45,7 @@
 sandesha2_permanent_create_seq_mgr_create(
     const axis2_env_t *env,
     struct sandesha2_storage_mgr *storage_mgr,
-    struct axis2_ctx *ctx);
+    struct axis2_conf_ctx *ctx);
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/sandesha/trunk/c/include/sandesha2_permanent_invoker_mgr.h
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2_permanent_invoker_mgr.h?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2_permanent_invoker_mgr.h 
(original)
+++ webservices/sandesha/trunk/c/include/sandesha2_permanent_invoker_mgr.h Fri 
Dec 15 00:33:16 2006
@@ -34,7 +34,7 @@
 #endif
 
 struct sandesha2_storage_mgr;
-struct axis2_ctx;
+struct axis2_conf_ctx;
 
 /** @defgroup sandesha2_permanent_invoker_mgr Permanat Invoker Manager
   * @ingroup sandesha2
@@ -45,7 +45,7 @@
 sandesha2_permanent_invoker_mgr_create(
     const axis2_env_t *env,
     struct sandesha2_storage_mgr *storage_mgr,
-    struct axis2_ctx *ctx);
+    struct axis2_conf_ctx *ctx);
 
 /** @} */
 #ifdef __cplusplus

Modified: 
webservices/sandesha/trunk/c/include/sandesha2_permanent_next_msg_mgr.h
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2_permanent_next_msg_mgr.h?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2_permanent_next_msg_mgr.h 
(original)
+++ webservices/sandesha/trunk/c/include/sandesha2_permanent_next_msg_mgr.h Fri 
Dec 15 00:33:16 2006
@@ -34,7 +34,7 @@
 #endif
 
 struct sandesha2_storage_mgr;
-struct axis2_ctx;
+struct axis2_conf_ctx;
 
 /** @defgroup sandesha2_permanent_next_msg_mgr Permanat Next Message Manager
   * @ingroup sandesha2
@@ -45,7 +45,7 @@
 sandesha2_permanent_next_msg_mgr_create(
     const axis2_env_t *env,
     struct sandesha2_storage_mgr *storage_mgr,
-    struct axis2_ctx *ctx);
+    struct axis2_conf_ctx *ctx);
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/sandesha/trunk/c/include/sandesha2_permanent_sender_mgr.h
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2_permanent_sender_mgr.h?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2_permanent_sender_mgr.h 
(original)
+++ webservices/sandesha/trunk/c/include/sandesha2_permanent_sender_mgr.h Fri 
Dec 15 00:33:16 2006
@@ -34,7 +34,7 @@
 #endif
 
 struct sandesha2_storage_mgr;
-struct axis2_ctx;
+struct axis2_conf_ctx;
 
 /** @defgroup sandesha2_permanent_sender_mgr Permanat Sender Manager
   * @ingroup sandesha2
@@ -45,7 +45,7 @@
 sandesha2_permanent_sender_mgr_create(
     const axis2_env_t *env,
     struct sandesha2_storage_mgr *storage_mgr,
-    struct axis2_ctx *ctx);
+    struct axis2_conf_ctx *ctx);
 
 /** @} */
 #ifdef __cplusplus

Modified: 
webservices/sandesha/trunk/c/include/sandesha2_permanent_seq_property_mgr.h
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2_permanent_seq_property_mgr.h?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2_permanent_seq_property_mgr.h 
(original)
+++ webservices/sandesha/trunk/c/include/sandesha2_permanent_seq_property_mgr.h 
Fri Dec 15 00:33:16 2006
@@ -34,7 +34,7 @@
 #endif
     
 struct sandesha2_storage_mgr;
-struct axis2_ctx;
+struct axis2_conf_ctx;
 
 /** @defgroup sandesha2_permanent_seq_property_mgr Permanat Sequence Property 
   * Manager
@@ -46,7 +46,7 @@
 sandesha2_permanent_seq_property_mgr_create(
     const axis2_env_t *env,
     struct sandesha2_storage_mgr *storage_mgr,
-    struct axis2_ctx *ctx);
+    struct axis2_conf_ctx *ctx);
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/sandesha/trunk/c/include/sandesha2_property_bean.h
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2_property_bean.h?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2_property_bean.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2_property_bean.h Fri Dec 15 
00:33:16 2006
@@ -157,8 +157,7 @@
 axis2_char_t *AXIS2_CALL
 sandesha2_property_bean_get_db_path(
     sandesha2_property_bean_t *bean,
-    const axis2_env_t *env,
-    axis2_char_t *db_path);
+    const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 sandesha2_property_bean_set_db_path(

Modified: webservices/sandesha/trunk/c/src/core/mod_sandesha2.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/core/mod_sandesha2.c?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/src/core/mod_sandesha2.c (original)
+++ webservices/sandesha/trunk/c/src/core/mod_sandesha2.c Fri Dec 15 00:33:16 
2006
@@ -91,7 +91,8 @@
     
     conf = AXIS2_CONF_CTX_GET_CONF(conf_ctx, env);
     AXIS2_CONF_ADD_PARAM(conf, env, param);
-    repo_path = AXIS2_CONF_GET_REPO(conf, env);
+    repo_path = (axis2_char_t *) AXIS2_CONF_GET_REPO(
+        (const axis2_conf_t *) conf, env);
     sandesha2_property_bean_set_db_path(property_bean, env, repo_path);
     ctx = AXIS2_CONF_CTX_GET_BASE(conf_ctx, env);
     AXIS2_CTX_SET_PROPERTY(ctx, env, SANDESHA2_INMEMORY_STORAGE_MGR, NULL, 

Modified: 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_bean_mgr.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/permanent/permanent_bean_mgr.c?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/permanent/permanent_bean_mgr.c 
(original)
+++ webservices/sandesha/trunk/c/src/storage/permanent/permanent_bean_mgr.c Fri 
Dec 15 00:33:16 2006
@@ -19,13 +19,15 @@
 #include <sandesha2_permanent_bean_mgr.h>
 #include <sandesha2_error.h>
 #include <sandesha2_storage_mgr.h>
+#include <sandesha2_property_bean.h>
+#include <sandesha2_utils.h>
 #include <axis2_log.h>
 #include <axis2_hash.h>
 #include <axis2_thread.h>
 #include <axis2_property.h>
+#include <axis2_conf_ctx.h>
 #include <sqlite3.h>
 
-#define DB_NAME "sandesha2"
 /** 
  * @brief Sandesha2 Permanent Bean Manager Struct Impl
  *   Sandesha2 Permanent Bean Manager
@@ -35,6 +37,7 @@
     sandesha2_permanent_bean_mgr_t bean_mgr;
     sandesha2_storage_mgr_t *storage_mgr;
     axis2_thread_mutex_t *mutex;
+    axis2_char_t *db_name;
     sqlite3 *db;
 
 }sandesha2_permanent_bean_mgr_impl_t;
@@ -56,10 +59,12 @@
 sandesha2_permanent_bean_mgr_create(
     const axis2_env_t *env,
     sandesha2_storage_mgr_t *storage_mgr,
-    axis2_ctx_t *ctx,
+    axis2_conf_ctx_t *conf_ctx,
     axis2_char_t *key)
 {
     sandesha2_permanent_bean_mgr_impl_t *bean_mgr_impl = NULL;
+    sandesha2_property_bean_t *prop_bean = NULL;
+    axis2_conf_t *conf = NULL;
     
     AXIS2_ENV_CHECK(env, NULL);
     bean_mgr_impl = AXIS2_MALLOC(env->allocator, 
@@ -68,7 +73,12 @@
     bean_mgr_impl->storage_mgr = storage_mgr;
     bean_mgr_impl->mutex = NULL;
     bean_mgr_impl->db = NULL;
+    bean_mgr_impl->db_name = NULL;
 
+    conf = AXIS2_CONF_CTX_GET_CONF((const axis2_conf_ctx_t *) conf_ctx, env);
+    prop_bean = sandesha2_utils_get_property_bean(env, conf);
+    bean_mgr_impl->db_name = sandesha2_property_bean_get_db_path(prop_bean, 
+        env); 
     bean_mgr_impl->mutex = axis2_thread_mutex_create(env->allocator, 
         AXIS2_THREAD_MUTEX_DEFAULT);
     if(!bean_mgr_impl->mutex) 
@@ -94,6 +104,11 @@
         axis2_thread_mutex_destroy(bean_mgr_impl->mutex);
         bean_mgr_impl->mutex = NULL;
     }
+    if(bean_mgr_impl->db_name)
+    {
+        AXIS2_FREE(env->allocator, bean_mgr_impl->db_name);
+        bean_mgr_impl->db_name = NULL;
+    }
     if(bean_mgr_impl)
     {
         AXIS2_FREE(env->allocator, bean_mgr_impl);
@@ -116,6 +131,16 @@
     bean_mgr_impl = SANDESHA2_INTF_TO_IMPL(bean_mgr);
     /*sandesha2_storage_mgr_enlist_bean(bean_mgr_impl->storage_mgr, env, 
bean);*/
     axis2_thread_mutex_lock(bean_mgr_impl->mutex);
+    rc = sqlite3_open(bean_mgr_impl->db_name, &(bean_mgr_impl->db));
+    if(rc)
+    {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Can't open database: %s\n", 
+            sqlite3_errmsg(bean_mgr_impl->db));
+        AXIS2_ERROR_SET(env->error, SANDESHA2_ERROR_CANNOT_OPEN_DATABASE, 
+            AXIS2_FAILURE);
+        sqlite3_close(bean_mgr_impl->db);
+        return AXIS2_FALSE;
+    }   
     rc = sqlite3_exec(bean_mgr_impl->db, sql_stmt_insert, 0, 0, &error_msg);
     if( rc!=SQLITE_OK )
     {
@@ -147,6 +172,16 @@
     AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     bean_mgr_impl = SANDESHA2_INTF_TO_IMPL(bean_mgr);
     axis2_thread_mutex_lock(bean_mgr_impl->mutex);
+    rc = sqlite3_open(bean_mgr_impl->db_name, &(bean_mgr_impl->db));
+    if(rc)
+    {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Can't open database: %s\n", 
+            sqlite3_errmsg(bean_mgr_impl->db));
+        AXIS2_ERROR_SET(env->error, SANDESHA2_ERROR_CANNOT_OPEN_DATABASE, 
+            AXIS2_FAILURE);
+        sqlite3_close(bean_mgr_impl->db);
+        return AXIS2_FALSE;
+    }   
     args = AXIS2_MALLOC(env->allocator, sizeof(sandesha2_bean_mgr_args_t));
     args->env = env;
     args->data = bean;
@@ -195,7 +230,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     bean_mgr_impl = SANDESHA2_INTF_TO_IMPL(bean_mgr);
     axis2_thread_mutex_lock(bean_mgr_impl->mutex);
-    rc = sqlite3_open(DB_NAME, &(bean_mgr_impl->db));
+    rc = sqlite3_open(bean_mgr_impl->db_name, &(bean_mgr_impl->db));
     if(rc)
     {
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Can't open database: %s\n", 
@@ -261,7 +296,7 @@
     /*if(bean)
         sandesha2_storage_mgr_enlist_bean(bean_mgr_impl->storage_mgr, env, 
bean);*/
     axis2_thread_mutex_lock(bean_mgr_impl->mutex);
-    rc = sqlite3_open(DB_NAME, &(bean_mgr_impl->db));
+    rc = sqlite3_open(bean_mgr_impl->db_name, &(bean_mgr_impl->db));
     if(rc)
     {
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Can't open database: %s\n", 
@@ -332,7 +367,7 @@
         return NULL;
     }
     axis2_thread_mutex_lock(bean_mgr_impl->mutex);
-    rc = sqlite3_open(DB_NAME, &(bean_mgr_impl->db));
+    rc = sqlite3_open(bean_mgr_impl->db_name, &(bean_mgr_impl->db));
     if(rc)
     {
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Can't open database: %s\n", 

Modified: 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_create_seq_mgr.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/permanent/permanent_create_seq_mgr.c?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_create_seq_mgr.c 
(original)
+++ 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_create_seq_mgr.c 
Fri Dec 15 00:33:16 2006
@@ -174,7 +174,7 @@
 sandesha2_permanent_create_seq_mgr_create(
     const axis2_env_t *env,
     sandesha2_storage_mgr_t *storage_mgr,
-    axis2_ctx_t *ctx)
+    axis2_conf_ctx_t *ctx)
 {
     sandesha2_permanent_create_seq_mgr_t *seq_mgr_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);

Modified: 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_invoker_mgr.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/permanent/permanent_invoker_mgr.c?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/permanent/permanent_invoker_mgr.c 
(original)
+++ webservices/sandesha/trunk/c/src/storage/permanent/permanent_invoker_mgr.c 
Fri Dec 15 00:33:16 2006
@@ -166,7 +166,7 @@
 sandesha2_permanent_invoker_mgr_create(
     const axis2_env_t *env,
     sandesha2_storage_mgr_t *storage_mgr,
-    axis2_ctx_t *ctx)
+    axis2_conf_ctx_t *ctx)
 {
     sandesha2_permanent_invoker_mgr_t *invoker_mgr_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);

Modified: 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_next_msg_mgr.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/permanent/permanent_next_msg_mgr.c?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/permanent/permanent_next_msg_mgr.c 
(original)
+++ webservices/sandesha/trunk/c/src/storage/permanent/permanent_next_msg_mgr.c 
Fri Dec 15 00:33:16 2006
@@ -174,7 +174,7 @@
 sandesha2_permanent_next_msg_mgr_create(
     const axis2_env_t *env,
     sandesha2_storage_mgr_t *storage_mgr,
-    axis2_ctx_t *ctx)
+    axis2_conf_ctx_t *ctx)
 {
     sandesha2_permanent_next_msg_mgr_t *next_msg_mgr_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);

Modified: 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_sender_mgr.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/permanent/permanent_sender_mgr.c?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/permanent/permanent_sender_mgr.c 
(original)
+++ webservices/sandesha/trunk/c/src/storage/permanent/permanent_sender_mgr.c 
Fri Dec 15 00:33:16 2006
@@ -222,7 +222,7 @@
 sandesha2_permanent_sender_mgr_create(
     const axis2_env_t *env,
     sandesha2_storage_mgr_t *storage_mgr,
-    axis2_ctx_t *ctx)
+    axis2_conf_ctx_t *ctx)
 {
     sandesha2_permanent_sender_mgr_t *sender_mgr_impl = NULL;
     

Modified: 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_seq_property_mgr.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/permanent/permanent_seq_property_mgr.c?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_seq_property_mgr.c 
(original)
+++ 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_seq_property_mgr.c 
Fri Dec 15 00:33:16 2006
@@ -185,7 +185,7 @@
 sandesha2_permanent_seq_property_mgr_create(
     const axis2_env_t *env,
     sandesha2_storage_mgr_t *storage_mgr,
-    axis2_ctx_t *ctx)
+    axis2_conf_ctx_t *ctx)
 {
     sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);

Modified: 
webservices/sandesha/trunk/c/src/storage/permanent/permanent_storage_mgr.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/permanent/permanent_storage_mgr.c?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/permanent/permanent_storage_mgr.c 
(original)
+++ webservices/sandesha/trunk/c/src/storage/permanent/permanent_storage_mgr.c 
Fri Dec 15 00:33:16 2006
@@ -196,7 +196,6 @@
     axis2_conf_ctx_t *conf_ctx)
 {
     sandesha2_permanent_storage_mgr_t *storage_mgr_impl = NULL;
-    axis2_ctx_t *ctx = NULL;
     
     AXIS2_ENV_CHECK(env, NULL);
     storage_mgr_impl = AXIS2_MALLOC(env->allocator, 
@@ -205,18 +204,17 @@
     storage_mgr_impl->SANDESHA2_MSG_MAP_KEY = 
AXIS2_STRDUP("Sandesha2MessageMap", 
         env);
     storage_mgr_impl->conf_ctx = conf_ctx;
-    ctx = AXIS2_CONF_CTX_GET_BASE(conf_ctx, env);
     storage_mgr_impl->create_seq_mgr = 
sandesha2_permanent_create_seq_mgr_create(
-        env, &(storage_mgr_impl->storage_mgr), ctx);
+        env, &(storage_mgr_impl->storage_mgr), conf_ctx);
     storage_mgr_impl->next_msg_mgr = sandesha2_permanent_next_msg_mgr_create(
-        env, &(storage_mgr_impl->storage_mgr), ctx);
+        env, &(storage_mgr_impl->storage_mgr), conf_ctx);
     storage_mgr_impl->seq_property_mgr = 
         sandesha2_permanent_seq_property_mgr_create(env, 
-            &(storage_mgr_impl->storage_mgr), ctx);
+            &(storage_mgr_impl->storage_mgr), conf_ctx);
     storage_mgr_impl->sender_mgr = sandesha2_permanent_sender_mgr_create(env, 
-        &(storage_mgr_impl->storage_mgr), ctx);
+        &(storage_mgr_impl->storage_mgr), conf_ctx);
     storage_mgr_impl->invoker_mgr = 
sandesha2_permanent_invoker_mgr_create(env, 
-        &(storage_mgr_impl->storage_mgr), ctx);
+        &(storage_mgr_impl->storage_mgr), conf_ctx);
 
     storage_mgr_impl->storage_mgr.ops = &storage_mgr_ops;
 

Modified: 
webservices/sandesha/trunk/c/src/storage/permanent/sandesha2_permanent_bean_mgr.h
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/permanent/sandesha2_permanent_bean_mgr.h?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- 
webservices/sandesha/trunk/c/src/storage/permanent/sandesha2_permanent_bean_mgr.h
 (original)
+++ 
webservices/sandesha/trunk/c/src/storage/permanent/sandesha2_permanent_bean_mgr.h
 Fri Dec 15 00:33:16 2006
@@ -39,7 +39,7 @@
 typedef struct sandesha2_permanent_bean_mgr sandesha2_permanent_bean_mgr_t;
 typedef struct sandesha2_permanent_bean_mgr_ops 
sandesha2_permanent_bean_mgr_ops_t;
 struct sandesha2_storage_mgr;
-struct axis2_ctx;
+struct axis2_conf_ctx;
 
 AXIS2_DECLARE_DATA struct sandesha2_permanent_bean_mgr_ops
 {
@@ -66,7 +66,7 @@
 sandesha2_permanent_bean_mgr_create(
     const axis2_env_t *env,
     struct sandesha2_storage_mgr *storage_mgr,
-    struct axis2_ctx *ctx,
+    struct axis2_conf_ctx *conf_ctx,
     axis2_char_t *key);
 
 void AXIS2_CALL

Modified: webservices/sandesha/trunk/c/src/util/property_bean.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/property_bean.c?view=diff&rev=487482&r1=487481&r2=487482
==============================================================================
--- webservices/sandesha/trunk/c/src/util/property_bean.c (original)
+++ webservices/sandesha/trunk/c/src/util/property_bean.c Fri Dec 15 00:33:16 
2006
@@ -330,8 +330,7 @@
 axis2_char_t *AXIS2_CALL
 sandesha2_property_bean_get_db_path(
     sandesha2_property_bean_t *bean,
-    const axis2_env_t *env,
-    axis2_char_t *db_path)
+    const axis2_env_t *env)
 {
     return bean->db_path;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to