sandesha2_rm_bean.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_RM_BEAN_H
00018 #define SANDESHA2_RM_BEAN_H
00019
00020 #include <axutil_qname.h>
00021 #include <axutil_env.h>
00022 #include <axutil_utils.h>
00023 #include <axutil_utils_defines.h>
00024
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #endif
00029
00030 typedef struct sandesha2_rm_bean sandesha2_rm_bean_t;
00031 typedef struct sandesha2_rm_bean_ops sandesha2_rm_bean_ops_t;
00032 struct sandesha2_transaction;
00033
00034 AXIS2_DECLARE_DATA struct sandesha2_rm_bean_ops
00035 {
00036 void (AXIS2_CALL *
00037 free) (
00038 sandesha2_rm_bean_t *rm_bean,
00039 const axutil_env_t *env);
00040
00041 sandesha2_rm_bean_t * (AXIS2_CALL *
00042 get_base) (
00043 sandesha2_rm_bean_t *rm_bean,
00044 const axutil_env_t *env);
00045
00046 void (AXIS2_CALL *
00047 set_id) (
00048 sandesha2_rm_bean_t *rm_bean,
00049 const axutil_env_t *env,
00050 long id);
00051
00052 long (AXIS2_CALL *
00053 get_id) (
00054 sandesha2_rm_bean_t *rm_bean,
00055 const axutil_env_t *env);
00056
00057 void (AXIS2_CALL *
00058 set_transaction) (
00059 sandesha2_rm_bean_t *rm_bean,
00060 const axutil_env_t *env,
00061 struct sandesha2_transaction *transaction);
00062
00063 struct sandesha2_transaction *(AXIS2_CALL *
00064 get_transaction) (
00065 sandesha2_rm_bean_t *rm_bean,
00066 const axutil_env_t *env);
00067
00068 axis2_char_t *(AXIS2_CALL *
00069 get_key) (
00070 sandesha2_rm_bean_t *rm_bean,
00071 const axutil_env_t *env);
00072 };
00073
00074 AXIS2_DECLARE_DATA struct sandesha2_rm_bean
00075 {
00076 sandesha2_rm_bean_ops_t ops;
00077 };
00078
00079
00080
00081 AXIS2_EXTERN sandesha2_rm_bean_t* AXIS2_CALL
00082 sandesha2_rm_bean_create(
00083 const axutil_env_t *env);
00084
00085 void AXIS2_CALL
00086 sandesha2_rm_bean_free(
00087 sandesha2_rm_bean_t *rm_bean,
00088 const axutil_env_t *env);
00089
00090 sandesha2_rm_bean_t * AXIS2_CALL
00091 sandesha2_rm_bean_get_base(
00092 sandesha2_rm_bean_t *rm_bean,
00093 const axutil_env_t *env);
00094
00095 void AXIS2_CALL
00096 sandesha2_rm_bean_set_id(
00097 sandesha2_rm_bean_t *rm_bean,
00098 const axutil_env_t *env,
00099 long id);
00100
00101 long AXIS2_CALL
00102 sandesha2_rm_bean_get_id(
00103 sandesha2_rm_bean_t *rm_bean,
00104 const axutil_env_t *env);
00105
00106 void AXIS2_CALL
00107 sandesha2_rm_bean_set_transaction(
00108 sandesha2_rm_bean_t *rm_bean,
00109 const axutil_env_t *env,
00110 struct sandesha2_transaction *transaction);
00111
00112 struct sandesha2_transaction *AXIS2_CALL
00113 sandesha2_rm_bean_get_transaction(
00114 sandesha2_rm_bean_t *rm_bean,
00115 const axutil_env_t *env);
00116
00117 axis2_char_t *AXIS2_CALL
00118 sandesha2_rm_bean_get_key(
00119 sandesha2_rm_bean_t *rm_bean,
00120 const axutil_env_t *env);
00121
00122 #ifdef __cplusplus
00123 }
00124
00125 #endif
00126
00127 #endif