sandesha2_invoker_mgr.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_INVOKER_MGR_H
00018 #define SANDESHA2_INVOKER_MGR_H
00019
00025 #include <axutil_allocator.h>
00026 #include <axutil_env.h>
00027 #include <axutil_error.h>
00028 #include <axutil_string.h>
00029 #include <axutil_utils.h>
00030 #include <axis2_ctx.h>
00031 #include <axutil_array_list.h>
00032 #include <sandesha2_invoker_bean.h>
00033
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038
00039 typedef struct sandesha2_invoker_mgr sandesha2_invoker_mgr_t;
00040 typedef struct sandesha2_invoker_mgr_ops sandesha2_invoker_mgr_ops_t;
00041
00042 AXIS2_DECLARE_DATA struct sandesha2_invoker_mgr_ops
00043 {
00048 void (AXIS2_CALL *
00049 free)(
00050 sandesha2_invoker_mgr_t *invoker,
00051 const axutil_env_t *envv);
00052
00053 axis2_bool_t (AXIS2_CALL *
00054 insert)(
00055 sandesha2_invoker_mgr_t *invoker,
00056 const axutil_env_t *env,
00057 sandesha2_invoker_bean_t *bean);
00058
00059 axis2_bool_t (AXIS2_CALL *
00060 remove)(
00061 sandesha2_invoker_mgr_t *invoker,
00062 const axutil_env_t *env,
00063 axis2_char_t *ref_key);
00064
00065 sandesha2_invoker_bean_t *(AXIS2_CALL *
00066 retrieve)(
00067 sandesha2_invoker_mgr_t *invoker,
00068 const axutil_env_t *env,
00069 axis2_char_t *ref_key);
00070
00071 axis2_bool_t (AXIS2_CALL *
00072 update)(
00073 sandesha2_invoker_mgr_t *invoker,
00074 const axutil_env_t *env,
00075 sandesha2_invoker_bean_t *bean);
00076
00077 axutil_array_list_t *(AXIS2_CALL *
00078 find)(
00079 sandesha2_invoker_mgr_t *invoker,
00080 const axutil_env_t *env,
00081 sandesha2_invoker_bean_t *bean);
00082
00083 sandesha2_invoker_bean_t *(AXIS2_CALL *
00084 find_unique)(
00085 sandesha2_invoker_mgr_t *invoker,
00086 const axutil_env_t *env,
00087 sandesha2_invoker_bean_t *bean);
00088
00089 };
00090
00091 AXIS2_DECLARE_DATA struct sandesha2_invoker_mgr
00092 {
00093 sandesha2_invoker_mgr_ops_t ops;
00094 };
00095
00096 AXIS2_EXTERN sandesha2_invoker_mgr_t * AXIS2_CALL
00097 sandesha2_invoker_mgr_create(
00098 const axutil_env_t *env,
00099 axis2_char_t *dbname);
00100
00101 void AXIS2_CALL
00102 sandesha2_invoker_mgr_free(
00103 sandesha2_invoker_mgr_t *invoker,
00104 const axutil_env_t *envv);
00105
00106 axis2_bool_t AXIS2_CALL
00107 sandesha2_invoker_mgr_insert(
00108 sandesha2_invoker_mgr_t *invoker,
00109 const axutil_env_t *env,
00110 sandesha2_invoker_bean_t *bean);
00111
00112 axis2_bool_t AXIS2_CALL
00113 sandesha2_invoker_mgr_remove(
00114 sandesha2_invoker_mgr_t *invoker,
00115 const axutil_env_t *env,
00116 axis2_char_t *ref_key);
00117
00118 sandesha2_invoker_bean_t *AXIS2_CALL
00119 sandesha2_invoker_mgr_retrieve(
00120 sandesha2_invoker_mgr_t *invoker,
00121 const axutil_env_t *env,
00122 axis2_char_t *ref_key);
00123
00124 axis2_bool_t AXIS2_CALL
00125 sandesha2_invoker_mgr_update(
00126 sandesha2_invoker_mgr_t *invoker,
00127 const axutil_env_t *env,
00128 sandesha2_invoker_bean_t *bean);
00129
00130 axutil_array_list_t *AXIS2_CALL
00131 sandesha2_invoker_mgr_find(
00132 sandesha2_invoker_mgr_t *invoker,
00133 const axutil_env_t *env,
00134 sandesha2_invoker_bean_t *bean);
00135
00136 sandesha2_invoker_bean_t *AXIS2_CALL
00137 sandesha2_invoker_mgr_find_unique(
00138 sandesha2_invoker_mgr_t *invoker,
00139 const axutil_env_t *env,
00140 sandesha2_invoker_bean_t *bean);
00141
00142
00144 #ifdef __cplusplus
00145 }
00146 #endif
00147 #endif