You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by sa...@apache.org on 2006/06/29 15:58:31 UTC
svn commit: r418048 - /webservices/sandesha/trunk/c/include/sandesha2/
Author: sahan
Date: Thu Jun 29 06:58:30 2006
New Revision: 418048
URL: http://svn.apache.org/viewvc?rev=418048&view=rev
Log:
1. Adding the storage impl provided by Sris. Refer to SANDESHA2-10 attachment 1
2. Adding constants to track flows
Added:
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean_manager.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean_manager.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean_manager.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean_manager.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean.h
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean_manager.h
Modified:
webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h
Modified: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h?rev=418048&r1=418047&r2=418048&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_constants.h Thu Jun 29 06:58:30 2006
@@ -460,6 +460,14 @@
#define SANDESHA2_REINJECTED_MESSAGE "ReinjectedMessage"
#define SANDESHA2_MODULE_CLASS_LOADER "Sandesha2ModuleClassLoader"
+
+ /**
+ * Message context values
+ */
+ #define SANDESHA2_MSG_CTX_IN_FLOW 1
+ #define SANDESHA2_MSG_CTX_IN_FAULT_FLOW 2
+ #define SANDESHA2_MSG_CTX_OUT_FLOW 3
+ #define SANDESHA2_MSG_CTX_OUT_FAULT_FLOW 4
/** @} */
#ifdef __cplusplus
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,108 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_CREATE_SEQ_BEAN_H
+#define SANDESHA2_CREATE_SEQ_BEAN_H
+
+#include <axis2_qname.h>
+#include <axis2_env.h>
+#include <axis2_utils.h>
+#include <axis2_utils_defines.h>
+#include <string.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_create_seq_bean sandesha2_create_seq_bean_t;
+typedef struct sandesha2_create_seq_bean_ops sandesha2_create_seq_bean_ops_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_create_seq_bean_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (sandesha2_create_seq_bean_t *create_seq,
+ const axis2_env_t *env);
+
+ axis2_char_t* (AXIS2_CALL *
+ get_create_seq_msg_id) (sandesha2_create_seq_bean_t *create_seq,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_create_seq_msg_id) (sandesha2_create_seq_bean_t *create_seq,
+ const axis2_env_t *env, axis2_char_t* seq_msg_id) ;
+
+ axis2_char_t* (AXIS2_CALL *
+ get_seq_id) (sandesha2_create_seq_bean_t *create_seq,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_seq_id) (sandesha2_create_seq_bean_t *create_seq,
+ const axis2_env_t *env, axis2_char_t* seq_id) ;
+
+ axis2_char_t* (AXIS2_CALL *
+ get_internal_seq_id) (sandesha2_create_seq_bean_t *create_seq,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_internal_seq_id) (sandesha2_create_seq_bean_t *create_seq,
+ const axis2_env_t *env, axis2_char_t* int_seq_id);
+};
+
+AXIS2_DECLARE_DATA struct sandesha2_create_seq_bean
+{
+ sandesha2_create_seq_bean_ops_t *ops;
+};
+
+/* constructors
+ */
+AXIS2_EXTERN sandesha2_create_seq_bean_t* AXIS2_CALL
+ sandesha2_create_seq_bean_create(const axis2_env_t *env);
+
+AXIS2_EXTERN sandesha2_create_seq_bean_t* AXIS2_CALL
+ sandesha2_create_seq_bean_create_with_data(const axis2_env_t *env,
+ axis2_char_t *internal_seq_id,
+ axis2_char_t *create_seq_msg_id,
+ axis2_char_t *seq_id);
+
+
+#define SANDESHA2_CREATE_SEQ_BEAN_FREE(create_seq_bean, env) \
+ ((create_seq_bean)->ops->free(create_seq_bean, env))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_GET_CREATE_SEQ_MSG_ID(create_seq_bean,env) \
+ ((create_seq_bean)->ops->get_create_seq_msg_id(create_seq_bean, env))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_SET_CREATE_SEQ_MSG_ID(create_seq_bean, env, create_msg_seq_id) \
+ ((create_seq_bean)->ops->set_create_seq_msg_id(create_seq_bean, env, create_msg_seq_id))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_GET_SEQ_ID(create_seq_bean, env) \
+ ((create_seq_bean)->ops->get_seq_id(create_seq_bean, env))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_SET_SEQ_ID(create_seq_bean, env, seq_id) \
+ ((create_seq_bean)->ops->set_seq_id(create_seq_bean, env, seq_id))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_GET_INTERNAL_SEQ_ID(create_seq_bean, env) \
+ ((create_seq_bean)->ops->get_internal_seq_id(create_seq_bean, env))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_SET_INTERNAL_SEQ_ID(create_seq_bean, env, int_seq_id) \
+ ((create_seq_bean)->ops->set_internal_seq_id(create_seq_bean, env, int_seq_id))
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_CREATE_SEQ_BEAN_H */
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean_manager.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean_manager.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean_manager.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_create_seq_bean_manager.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,111 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_CREATE_SEQ_BEAN_MANAGER_H
+#define SANDESHA2_CREATE_SEQ_BEAN_MANAGER_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_array_list.h>
+
+#include <sandesha2/sandesha2_create_seq_bean.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_create_seq_bean_manager sandesha2_create_seq_bean_manager_t;
+typedef struct sandesha2_create_seq_bean_manager_ops sandesha2_create_seq_bean_manager_ops_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_create_seq_bean_manager_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (sandesha2_create_seq_bean_manager_t *create_seq_manager,
+ const axis2_env_t *env);
+
+ axis2_bool_t (AXIS2_CALL *
+ insert) ( sandesha2_create_seq_bean_manager_t *create_seq_manager,
+ const axis2_env_t *env,
+ sandesha2_create_seq_bean_t *create_seq);
+
+
+ axis2_bool_t (AXIS2_CALL *
+ delete) ( sandesha2_create_seq_bean_manager_t *create_seq_manager,
+ const axis2_env_t *env,
+ axis2_char_t *msg_id);
+
+ sandesha2_create_seq_bean_t *(AXIS2_CALL *
+ retrieve) ( sandesha2_create_seq_bean_manager_t *create_seq_manager,
+ const axis2_env_t *env,
+ axis2_char_t *msg_id);
+
+ axis2_bool_t (AXIS2_CALL *
+ update) ( sandesha2_create_seq_bean_manager_t *create_seq_manager,
+ const axis2_env_t *env,
+ sandesha2_create_seq_bean_t *create_seq);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ find) (sandesha2_create_seq_bean_manager_t *create_seq_manager,
+ const axis2_env_t *env,
+ sandesha2_create_seq_bean_t *create_seq);
+
+ sandesha2_create_seq_bean_t *(AXIS2_CALL *
+ find_unique) (sandesha2_create_seq_bean_manager_t *create_seq_manager,
+ const axis2_env_t *env,
+ sandesha2_create_seq_bean_t *create_seq);
+
+};
+
+
+AXIS2_DECLARE_DATA struct sandesha2_create_seq_bean_manager{
+ sandesha2_create_seq_bean_manager_ops_t *ops;
+};
+
+
+/* constructors
+ */
+AXIS2_EXTERN sandesha2_create_seq_bean_manager_t* AXIS2_CALL
+ sandesha2_create_seq_bean_manager_create(const axis2_env_t *env);
+
+
+#define SANDESHA2_CREATE_SEQ_BEAN_MANAGER_FREE(create_seq_bean_manager, env) \
+ ((create_seq_bean_manager)->ops->free(create_seq_bean_manager, env))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_MANAGER_INSERT(create_seq_bean_manager, env, create_seq_bean) \
+ ((create_seq_bean_manager)->ops->insert(create_seq_bean_manager, env, create_seq_bean))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_MANAGER_DELETE(create_seq_bean_manager, env, msg_id) \
+ ((create_seq_bean_manager)->ops->delete(create_seq_bean_manager, env, msg_id))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_MANAGER_RETRIEVE(create_seq_bean_manager, env, msg_id) \
+ ((create_seq_bean_manager)->ops->retrieve(create_seq_bean_manager, env, msg_id))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_MANAGER_UPDATE(create_seq_bean_manager, env, create_seq_bean) \
+ ((create_seq_bean_manager)->ops->update(create_seq_bean_manager, env, create_seq_bean))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_MANAGER_FIND(create_seq_bean_manager, env, create_seq_bean) \
+ ((create_seq_bean_manager)->ops->find(create_seq_bean_manager, env, create_seq_bean))
+
+#define SANDESHA2_CREATE_SEQ_BEAN_MANAGER_FIND_UNIQUE(create_seq_bean_manager, env, create_seq_bean) \
+ ((create_seq_bean_manager)->ops->find_unique(create_seq_bean_manager, env, create_seq_bean))
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_CREATE_SEQ_BEAN_MANAGER_H */
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,128 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_INVOKER_BEAN_H
+#define SANDESHA2_INVOKER_BEAN_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <string.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_invoker_bean_ops sandesha2_invoker_bean_ops_t;
+typedef struct sandesha2_invoker_bean sandesha2_invoker_bean_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_invoker_bean_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (sandesha2_invoker_bean_t *invoker,
+ const axis2_env_t *env);
+
+ axis2_char_t * (AXIS2_CALL *
+ get_msg_context_ref_key) (sandesha2_invoker_bean_t *invoker,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_msg_context_ref_key) (sandesha2_invoker_bean_t *invoker,
+ const axis2_env_t *env,
+ axis2_char_t* context_ref_id);
+
+ long (AXIS2_CALL *
+ get_msg_no) (sandesha2_invoker_bean_t *invoker,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_msg_no) (sandesha2_invoker_bean_t *invoker,
+ const axis2_env_t *env,
+ long msg_no);
+
+ axis2_char_t* (AXIS2_CALL *
+ get_seq_id) (sandesha2_invoker_bean_t *invoker,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_seq_id) (sandesha2_invoker_bean_t *invoker,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id);
+ axis2_bool_t (AXIS2_CALL *
+ is_invoked) (sandesha2_invoker_bean_t *invoker,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_invoked) (sandesha2_invoker_bean_t *invoker,
+ const axis2_env_t *env,
+ axis2_bool_t invoked);
+
+};
+
+
+AXIS2_DECLARE_DATA struct sandesha2_invoker_bean{
+ /* ops related to invoker_bean */
+ sandesha2_invoker_bean_ops_t *ops;
+
+};
+
+/* constructors
+ */
+AXIS2_EXTERN sandesha2_invoker_bean_t* AXIS2_CALL
+ sandesha2_invoker_bean_create(
+ const axis2_env_t *env);
+
+AXIS2_EXTERN sandesha2_invoker_bean_t* AXIS2_CALL
+ sandesha2_invoker_bean_create_with_data(const axis2_env_t *env,
+ axis2_char_t * ref_key,
+ long msg_no,
+ axis2_char_t *seq_id,
+ axis2_bool_t invoked);
+
+#define SANDESHA2_INVOKER_BEAN_FREE(invoker_bean, env) \
+ ((invoker_bean)->ops->free(invoker_bean, env))
+
+#define SANDESHA2_INVOKER_BEAN_GET_MSG_CONTEXT_REF_ID(invoker_bean, env) \
+ ((invoker_bean)->ops->get_msg_context_ref_key(invoker_bean, env))
+
+#define SANDESHA2_INVOKER_BEAN_SET_MSG_CONTEXT_REF_ID(invoker_bean, env, ref_id) \
+ ((invoker_bean)->ops->set_msg_context_ref_key(invoker_bean, env, ref_id))
+
+#define SANDESHA2_INVOKER_BEAN_GET_MSG_NO(invoker_bean, env) \
+ ((invoker_bean)->ops->get_msg_no(invoker_bean, env))
+
+#define SANDESHA2_INVOKER_BEAN_SET_MSG_NO(invoker_bean, env, msg_no) \
+ ((invoker_bean)->ops->set_msg_no(invoker_bean, env, msg_no))
+
+#define SANDESHA2_INVOKER_BEAN_GET_SEQ_ID(invoker_bean, env) \
+ ((invoker_bean)->ops->get_seq_id(invoker_bean, env))
+
+#define SANDESHA2_INVOKER_BEAN_SET_SEQ_ID(invoker_bean, env, seq_id) \
+ ((invoker_bean)->ops->set_seq_id(invoker_bean, env, seq_id))
+
+#define SANDESHA2_INVOKER_BEAN_IS_INVOKED(invoker_bean, env) \
+ ((invoker_bean)->ops->is_invoked(invoker_bean, env))
+
+#define SANDESHA2_INVOKER_BEAN_SET_INVOKED(invoker_bean, env, invoked) \
+ ((invoker_bean)->ops->set_invoked(invoker_bean, env, invoked))
+
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_INVOKER_BEAN */
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean_manager.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean_manager.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean_manager.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_invoker_bean_manager.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,109 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_INVOKER_BEAN_MANAGER_H
+#define SANDESHA2_INVOKER_BEAN_MANAGER_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_array_list.h>
+
+#include <sandesha2/sandesha2_invoker_bean.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_invoker_bean_manager sandesha2_invoker_bean_manager_t;
+typedef struct sandesha2_invoker_bean_manager_ops sandesha2_invoker_bean_manager_ops_t;
+
+
+AXIS2_DECLARE_DATA struct sandesha2_invoker_bean_manager_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (sandesha2_invoker_bean_manager_t *invoker_manager,
+ const axis2_env_t *env);
+
+ axis2_bool_t (AXIS2_CALL *
+ insert) (sandesha2_invoker_bean_manager_t *invoker_manager,
+ const axis2_env_t *env,
+ sandesha2_invoker_bean_t *invoker);
+
+ axis2_bool_t (AXIS2_CALL *
+ delete) (sandesha2_invoker_bean_manager_t *invoker_manager,
+ const axis2_env_t *env,
+ axis2_char_t *key);
+
+ sandesha2_invoker_bean_t* (AXIS2_CALL *
+ retrieve) (sandesha2_invoker_bean_manager_t *invoker_manager,
+ const axis2_env_t *env,
+ axis2_char_t *key);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ find) (sandesha2_invoker_bean_manager_t *invoker_manager,
+ const axis2_env_t *env,
+ sandesha2_invoker_bean_t *invoker);
+
+ sandesha2_invoker_bean_t* (AXIS2_CALL *
+ find_unique) (sandesha2_invoker_bean_manager_t *invoker_manager,
+ const axis2_env_t *env,
+ sandesha2_invoker_bean_t *invoker);
+
+ axis2_bool_t (AXIS2_CALL *
+ update) (sandesha2_invoker_bean_manager_t *invoker_manager,
+ const axis2_env_t *env,
+ sandesha2_invoker_bean_t *invoker);
+
+};
+
+AXIS2_DECLARE_DATA struct sandesha2_invoker_bean_manager{
+ sandesha2_invoker_bean_manager_ops_t *ops;
+};
+
+
+/* constructors
+ */
+AXIS2_EXTERN sandesha2_invoker_bean_manager_t* AXIS2_CALL
+ sandesha2_invoker_bean_manager_create(const axis2_env_t *env);
+
+#define SANDESHA2_INVOKER_BEAN_MANAGER_FREE(invoker_bean_manager, env) \
+ ((invoker_bean_manager)->ops->free(invoker_bean_manager, env))
+
+#define SANDESHA2_INVOKER_BEAN_MANAGER_INSERT(invoker_bean_manager, env, invoker) \
+ ((invoker_bean_manager)->ops->insert(invoker_bean_manager, env, invoker))
+
+#define SANDESHA2_INVOKER_BEAN_MANAGER_DELETE(invoker_bean_manager, env, key) \
+ ((invoker_bean_manager)->ops->delete(invoker_bean_manager, env, key))
+
+#define SANDESHA2_INVOKER_BEAN_MANAGER_RETRIEVE(invoker_bean_manager, env, key) \
+ ((invoker_bean_manager)->ops->retrieve(invoker_bean_manager, env, key))
+
+#define SANDESHA2_INVOKER_BEAN_MANAGER_FIND(invoker_bean_manager, env, invoker) \
+ ((invoker_bean_manager)->ops->find(invoker_bean_manager, env, invoker))
+
+#define SANDESHA2_INVOKER_BEAN_MANAGER_FIND_UNIQUE(invoker_bean_manager, env, invoker) \
+ ((invoker_bean_manager)->ops->find_unique(invoker_bean_manager, env, invoker))
+
+#define SANDESHA2_INVOKER_BEAN_MANAGER_UPDATE(invoker_bean_manager, env, invoker) \
+ ((invoker_bean_manager)->ops->update(invoker_bean_manager, env, invoker))
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_INVOKER_BEAN_MANAGER_H*/
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,89 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_NEXT_MSG_BEAN_H
+#define SANDESHA2_NEXT_MSG_BEAN_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_next_msg_bean sandesha2_next_msg_bean_t;
+typedef struct sandesha2_next_msg_bean_ops sandesha2_next_msg_bean_ops_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_next_msg_bean_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (struct sandesha2_next_msg_bean *next_msg_bean,
+ const axis2_env_t *env);
+
+ axis2_char_t* (AXIS2_CALL *
+ get_sequence_id) (struct sandesha2_next_msg_bean *next_msg_bean,
+ const axis2_env_t *env);
+ void (AXIS2_CALL *
+ set_sequence_id) (struct sandesha2_next_msg_bean *next_msg_bean,
+ const axis2_env_t *env, axis2_char_t *seq_id);
+
+ long (AXIS2_CALL *
+ get_next_msg_no_to_process) (struct sandesha2_next_msg_bean *next_msg_bean,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_next_msg_no_to_process) (struct sandesha2_next_msg_bean *next_msg_bean,
+ const axis2_env_t *env, long next_msg_no);
+
+};
+
+AXIS2_DECLARE_DATA struct sandesha2_next_msg_bean{
+ sandesha2_next_msg_bean_ops_t *ops;
+};
+
+/* constructors
+ */
+AXIS2_EXTERN sandesha2_next_msg_bean_t* AXIS2_CALL
+ sandesha2_next_msg_bean_create(const axis2_env_t *env);
+
+AXIS2_EXTERN sandesha2_next_msg_bean_t* AXIS2_CALL
+ sandesha2_next_msg_bean_create_with_data(const axis2_env_t *env,
+ axis2_char_t *seq_id,
+ long msg_no);
+
+#define SANDESHA2_NEXT_MSG_BEAN_FREE(next_msg_bean, env) \
+ (next_msg_bean)->ops->free(next_msg_bean, env)
+
+#define SANDESHA2_NEXT_MSG_BEAN_GET_SEQUENCE_ID(next_msg_bean, env) \
+ (next_msg_bean)->ops->get_sequence_id(next_msg_bean, env)
+
+#define SANDESHA2_NEXT_MSG_BEAN_SET_SEQUENCE_ID(next_msg_bean, env, seq_id) \
+ (next_msg_bean)->ops->set_sequence_id(next_msg_bean, env, seq_id)
+
+#define SANDESHA2_NEXT_MSG_BEAN_GET_NEXT_MSG_NO_TO_PROCESS(next_msg_bean, env) \
+ (next_msg_bean)->ops->get_next_msg_no_to_process(next_msg_bean, env)
+
+#define SANDESHA2_NEXT_MSG_BEAN_SET_NEXT_MSG_NO_TO_PROCESS(next_msg_bean, env, seq_no) \
+ (next_msg_bean)->ops->set_next_msg_no_to_process(next_msg_bean, env, seq_no)
+
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_NEXT_MSG_BEAN_H */
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean_manager.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean_manager.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean_manager.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_next_msg_bean_manager.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,116 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_NEXT_MSG_BEAN_MANAGER_H
+#define SANDESHA2_NEXT_MSG_BEAN_MANAGER_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_array_list.h>
+
+#include <sandesha2/sandesha2_next_msg_bean.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_next_msg_bean_manager sandesha2_next_msg_bean_manager_t;
+typedef struct sandesha2_next_msg_bean_manager_ops sandesha2_next_msg_bean_manager_ops_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_next_msg_bean_manager_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (sandesha2_next_msg_bean_manager_t *next_msg_manager,
+ const axis2_env_t *env);
+
+ axis2_bool_t (AXIS2_CALL *
+ insert) (sandesha2_next_msg_bean_manager_t *next_msg_manager,
+ const axis2_env_t *env,
+ sandesha2_next_msg_bean_t *next_msg);
+
+ axis2_bool_t (AXIS2_CALL *
+ delete) (sandesha2_next_msg_bean_manager_t *next_msg_manager,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id);
+
+ sandesha2_next_msg_bean_t* (AXIS2_CALL *
+ retrieve) (sandesha2_next_msg_bean_manager_t *next_msg_manager,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ find) (sandesha2_next_msg_bean_manager_t *next_msg_manager,
+ const axis2_env_t *env,
+ sandesha2_next_msg_bean_t *next_msg);
+
+ sandesha2_next_msg_bean_t* (AXIS2_CALL *
+ find_unique) (sandesha2_next_msg_bean_manager_t *next_msg_manager,
+ const axis2_env_t *env,
+ sandesha2_next_msg_bean_t *next_msg);
+
+ axis2_bool_t (AXIS2_CALL *
+ update) (sandesha2_next_msg_bean_manager_t *next_msg_manager,
+ const axis2_env_t *env,
+ sandesha2_next_msg_bean_t *next_msg);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ retrieve_all) (sandesha2_next_msg_bean_manager_t *next_msg_manager,
+ const axis2_env_t *env);
+
+};
+
+AXIS2_DECLARE_DATA struct sandesha2_next_msg_bean_manager
+{
+ sandesha2_next_msg_bean_manager_ops_t *ops;
+};
+
+
+/* constructors
+ */
+AXIS2_EXTERN sandesha2_next_msg_bean_manager_t* AXIS2_CALL
+ sandesha2_next_msg_bean_manager_create(const axis2_env_t *env);
+
+#define SANDESHA2_NEXT_MSG_BEAN_MANAGER_FREE(next_msg_manager, env) \
+ ((next_msg_manager)->ops->free(next_msg_manager, env))
+
+#define SANDESHA2_NEXT_MSG_BEAN_MANAGER_INSERT(next_msg_manager, env, next_msg) \
+ ((next_msg_manager)->ops->insert(next_msg_manager, env, next_msg))
+
+#define SANDESHA2_NEXT_MSG_BEAN_MANAGER_DELETE(next_msg_manager, env, seq_id) \
+ ((next_msg_manager)->ops->delete(next_msg_manager, env, seq_id))
+
+#define SANDESHA2_NEXT_MSG_BEAN_MANAGER_RETRIEVE(next_msg_manager, env, seq_id) \
+ ((next_msg_manager)->ops->retrieve(next_msg_manager, env, seq_id))
+
+#define SANDESHA2_NEXT_MSG_BEAN_MANAGER_FIND(next_msg_manager, env, next_msg) \
+ ((next_msg_manager)->ops->find(next_msg_manager, env, next_msg))
+
+#define SANDESHA2_NEXT_MSG_BEAN_MANAGER_FIND_UNIQUE(next_msg_manager, env, next_msg) \
+ ((next_msg_manager)->ops->find_unique(next_msg_manager, env, next_msg))
+
+#define SANDESHA2_NEXT_MSG_BEAN_MANAGER_UPDATE(next_msg_manager, env, next_msg) \
+ ((next_msg_manager)->ops->update(next_msg_manager, env, next_msg))
+
+#define SANDESHA2_NEXT_MSG_BEAN_MANAGER_RETRIEVE_ALL(next_msg_manager, env) \
+ ((next_msg_manager)->ops->retrieve_all(next_msg_manager, env))
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_NEXT_MSG_BEAN_MANAGER_H*/
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,220 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_SENDER_BEAN_H
+#define SANDESHA2_SENDER_BEAN_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_sender_bean sandesha2_sender_bean_t;
+typedef struct sandesha2_sender_bean_ops sandesha2_sender_bean_ops_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_sender_bean_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_msg_context_ref_key) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_msg_context_ref_key) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ axis2_char_t *ref_key);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_msg_id) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_msg_id) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ axis2_char_t *msg_id);
+
+ axis2_bool_t (AXIS2_CALL *
+ is_send) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_send) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ axis2_bool_t send);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_internal_seq_id) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_internal_seq_id) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ axis2_char_t *int_seq_id);
+
+ int (AXIS2_CALL *
+ get_sent_count) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_sent_count) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ int sent_count);
+
+ long (AXIS2_CALL *
+ get_msg_no) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_msg_no) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ long msg_no);
+
+ axis2_bool_t (AXIS2_CALL *
+ is_resend) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_resend) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ axis2_bool_t resend);
+
+ long (AXIS2_CALL *
+ get_time_to_send) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_time_to_send) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ long time_to_send);
+
+ int (AXIS2_CALL *
+ get_msg_type) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void(AXIS2_CALL *
+ set_msg_type) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ int msg_type);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_sequence_id)(sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_sequence_id) (sandesha2_sender_bean_t *sender,
+ const axis2_env_t *env,
+ axis2_char_t *sequence_id);
+
+};
+
+AXIS2_DECLARE_DATA struct sandesha2_sender_bean{
+ sandesha2_sender_bean_ops_t *ops;
+};
+
+/* constructors
+ */
+AXIS2_EXTERN sandesha2_sender_bean_t* AXIS2_CALL
+ sandesha2_sender_bean_create(const axis2_env_t *env);
+
+AXIS2_EXTERN sandesha2_sender_bean_t* AXIS2_CALL
+ sandesha2_sender_bean_create_with_data(const axis2_env_t *env,
+ axis2_char_t *msg_id,
+ axis2_char_t *key,
+ axis2_bool_t send,
+ long time_to_send,
+ axis2_char_t *int_seq_id,
+ long msg_no);
+
+
+#define SANDESHA2_SENDER_BEAN_FREE(sender_bean, env) \
+ ((sender_bean)->ops->free(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_GET_MSG_CONTEXT_REF_KEY(sender_bean, env) \
+ ((sender_bean)->ops->get_msg_context_ref_key(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_MSG_CONTEXT_REF_KEY(sender_bean, env, ref_key) \
+ ((sender_bean)->ops->set_msg_context_ref_key(sender_bean, env, ref_key)
+
+#define SANDESHA2_SENDER_BEAN_GET_MSG_ID(sender_bean, env) \
+ ((sender_bean)->ops->get_msg_id(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_MSG_ID(sender_bean, env, msg_id) \
+ ((sender_bean)->ops->set_msg_id(sender_bean, env, msg_id)
+
+#define SANDESHA2_SENDER_BEAN_IS_SEND(sender_bean, env) \
+ ((sender_bean)->ops->is_send(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_SEND(sender_bean, env, send) \
+ ((sender_bean)->ops->set_send(sender_bean, env, send)
+
+#define SANDESHA2_SENDER_BEAN_GET_INTERNAL_SEQ_ID(sender_bean, env) \
+ ((sender_bean)->ops->get_internal_seq_id(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_INTERNAL_SEQ_ID(sender_bean, env, int_seq_id) \
+ ((sender_bean)->ops->set_internal_seq_id(sender_bean, env, int_seq_id)
+
+#define SANDESHA2_SENDER_BEAN_GET_SENT_COUNT(sender_bean, env) \
+ ((sender_bean)->ops->get_sent_count(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_SENT_COUNT(sender_bean, env, sent_count) \
+ ((sender_bean)->ops->set_sent_count(sender_bean, env, sent_count)
+
+#define SANDESHA2_SENDER_BEAN_GET_MSG_NO(sender_bean, env) \
+ ((sender_bean)->ops->get_msg_no(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_MSG_NO(sender_bean, env, msg_no) \
+ ((sender_bean)->ops->set_msg_no(sender_bean, env, msg_no)
+
+#define SANDESHA2_SENDER_BEAN_IS_RESEND(sender_bean, env) \
+ ((sender_bean)->ops->is_resend(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_RESEND(sender_bean, env, resend) \
+ ((sender_bean)->ops->set_resend(sender_bean, env, resend)
+
+#define SANDESHA2_SENDER_BEAN_GET_TIME_TO_SEND(sender_bean, env) \
+ ((sender_bean)->ops->get_time_to_send(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_TIME_TO_SEND(sender_bean, env, time_to_send) \
+ ((sender_bean)->ops->set_time_to_send(sender_bean, env, time_to_send)
+
+#define SANDESHA2_SENDER_BEAN_GET_MSG_TYPE(sender_bean, env) \
+ ((sender_bean)->ops->get_msg_type(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_GET_MSG_TYPE(sender_bean, env) \
+ ((sender_bean)->ops->get_msg_type(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_MSG_TYPE(sender_bean, env, msg_type) \
+ ((sender_bean)->ops->set_msg_type(sender_bean, env, msg_type)
+
+#define SANDESHA2_SENDER_BEAN_GET_SEQUENCE_ID(sender_bean, env) \
+ ((sender_bean)->ops->get_sequence_id(sender_bean, env)
+
+#define SANDESHA2_SENDER_BEAN_SET_SEQUENCE_ID(sender_bean, env, seq_id) \
+ ((sender_bean)->ops->set_sequence_id(sender_bean, env, seq_id)
+
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_SENDER_BEAN_H */
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean_manager.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean_manager.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean_manager.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sender_bean_manager.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,124 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_SENDER_BEAN_MANAGER_H
+#define SANDESHA2_SENDER_BEAN_MANAGER_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_array_list.h>
+
+#include <sandesha2/sandesha2_sender_bean.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_sender_bean_manager sandesha2_sender_bean_manager_t;
+typedef struct sandesha2_sender_bean_manager_ops sandesha2_sender_bean_manager_ops_t;
+
+
+AXIS2_DECLARE_DATA struct sandesha2_sender_bean_manager_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (sandesha2_sender_bean_manager_t *sender_manager,
+ const axis2_env_t *env);
+
+ axis2_bool_t (AXIS2_CALL *
+ insert) (sandesha2_sender_bean_manager_t *sender_manager,
+ const axis2_env_t *env,
+ sandesha2_sender_bean_t *sender_bean);
+
+ axis2_bool_t (AXIS2_CALL *
+ delete) (sandesha2_sender_bean_manager_t *sender_manager,
+ const axis2_env_t *env,
+ axis2_char_t *msg_id);
+
+ sandesha2_sender_bean_manager_t* (AXIS2_CALL *
+ retrieve) (sandesha2_sender_bean_manager_t *sender_manager,
+ const axis2_env_t *env,
+ axis2_char_t *msg_id);
+
+ axis2_bool_t (AXIS2_CALL *
+ update) (sandesha2_sender_bean_manager_t* sender_manager,
+ const axis2_env_t *env,
+ sandesha2_sender_bean_t *sender_bean);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ find) (sandesha2_sender_bean_manager_t *sender_manager,
+ const axis2_env_t *env,
+ sandesha2_sender_bean_t *sender_bean);
+
+ sandesha2_sender_bean_t* (AXIS2_CALL *
+ find_unique) (sandesha2_sender_bean_manager_t *sender_manager,
+ const axis2_env_t *env,
+ sandesha2_sender_bean_t *sender_bean);
+
+ sandesha2_sender_bean_t* (AXIS2_CALL *
+ get_next_msg_to_send) (sandesha2_sender_bean_manager_t *sender_manager,
+ const axis2_env_t *env);
+
+ sandesha2_sender_bean_t* (AXIS2_CALL *
+ retrieve_from_msg_ref_key) (sandesha2_sender_bean_manager_t *sender_manager,
+ const axis2_env_t *env,
+ axis2_char_t *msg_ref_key);
+};
+
+
+AXIS2_DECLARE_DATA struct sandesha2_sender_bean_manager{
+ sandesha2_sender_bean_manager_ops_t *ops;
+};
+
+
+/* constructors
+ */
+AXIS2_EXTERN sandesha2_sender_bean_manager_t* AXIS2_CALL
+ sandesha2_sender_bean_manager_create(const axis2_env_t *env);
+
+#define SANDESHA2_SENDER_BEAN_MANAGER_FREE(sender_manager, env) \
+ ((sender_manager)->ops->free(sender_manager, env))
+
+#define SANDESHA2_SENDER_BEAN_MANAGER_INSERT(sender_manager, env, sender_bean) \
+ ((sender_manager)->ops->insert(sender_manager, env, sender_bean))
+
+#define SANDESHA2_SENDER_BEAN_MANAGER_DELETE(sender_manager, env, msg_id) \
+ ((sender_manager)->ops->delete(sender_manager, env, msg_id))
+
+#define SANDESHA2_SENDER_BEAN_MANAGER_RETRIEVE(sender_manager, env, msg_id) \
+ ((sender_manager)->ops->retrieve(sender_manager, env, msg_id))
+
+#define SANDESHA2_SENDER_BEAN_MANAGER_UPDATE(sender_manager, env, sender_bean) \
+ ((sender_manager)->ops->update(sender_manager, env, sender_bean))
+
+#define SANDESHA2_SENDER_BEAN_MANAGER_FIND(sender_manager, env, sender_bean) \
+ ((sender_manager)->ops->find(sender_manager, env, sender_bean))
+
+#define SANDESHA2_SENDER_BEAN_MANAGER_FIND_UNIQUE(sender_manager, env, sender_bean) \
+ ((sender_manager)->ops->find_unique(sender_manager, env, sender_bean))
+
+#define SANDESHA2_SENDER_BEAN_MANAGER_GET_NEXT_MSG_TO_SEND(sender_manager, env) \
+ ((sender_manager)->ops->get_next_msg_to_send(sender_manager, env))
+
+#define SANDESHA2_SENDER_BEAN_MANAGER_RETRIEVE_FROM_MSG_REF_KEY(sender_manager, env, msg_ref_key) \
+ ((sender_manager)->ops->retrieve_from_msg_ref_key(sender_manager, env, msg_ref_key))
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_SENDER_BEAN_MANAGER_H*/
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,109 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_SEQUENCE_PROPERTY_BEAN_H
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_sequence_property_bean sandesha2_sequence_property_bean_t ;
+typedef struct sandesha2_sequence_property_bean_ops sandesha2_sequence_property_bean_ops_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_sequence_property_bean_ops
+{
+ axis2_status_t (AXIS2_CALL *
+ free) (struct sandesha2_sequence_property_bean *seq_property,
+ const axis2_env_t *env);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_name) (struct sandesha2_sequence_property_bean *seq_property,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_name) (struct sandesha2_sequence_property_bean *seq_property,
+ const axis2_env_t *env,
+ axis2_char_t *name);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_sequence_id) (struct sandesha2_sequence_property_bean *seq_property,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_sequence_id) (struct sandesha2_sequence_property_bean *seq_property,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_value) (struct sandesha2_sequence_property_bean *seq_property,
+ const axis2_env_t *env);
+
+ void (AXIS2_CALL *
+ set_value) (struct sandesha2_sequence_property_bean *seq_property,
+ const axis2_env_t *env,
+ axis2_char_t *value);
+
+};
+
+AXIS2_DECLARE_DATA struct sandesha2_sequence_property_bean{
+ sandesha2_sequence_property_bean_ops_t *ops;
+};
+
+/* constructors
+ */
+
+AXIS2_EXTERN sandesha2_sequence_property_bean_t* AXIS2_CALL
+ sandesha2_sequence_property_bean_create(const axis2_env_t *env);
+
+AXIS2_EXTERN sandesha2_sequence_property_bean_t* AXIS2_CALL
+ sandesha2_sequence_property_bean_create_with_data(const axis2_env_t *env,
+ axis2_char_t *seq_id,
+ axis2_char_t *prop_name,
+ axis2_char_t *value);
+
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_FREE(seq_prop_bean, env) \
+ ((seq_prop_bean)->ops->free(seq_prop_bean, env)
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_GET_NAME(seq_prop_bean, env) \
+ ((seq_prop_bean)->ops->get_name(seq_prop_bean, env)
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_SET_NAME(seq_prop_bean, env, name) \
+ ((seq_prop_bean)->ops->set_name(seq_prop_bean, env, name)
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_GET_SEQUENCE_ID(seq_prop_bean, env) \
+ ((seq_prop_bean)->ops->get_sequence_id(seq_prop_bean, env)
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_SET_SEQUENCE_ID(seq_prop_bean, env, seq_id) \
+ ((seq_prop_bean)->ops->set_sequence_id(seq_prop_bean, env, seq_id)
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_GET_VALUE(seq_prop_bean, env) \
+ ((seq_prop_bean)->ops->get_value(seq_prop_bean, env)
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_SET_VALUE(seq_prop_bean, env, value) \
+ ((seq_prop_bean)->ops->set_value(seq_prop_bean, env, value)
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_SEQUENCE_PROPERTY_BEAN_H */
Added: webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean_manager.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean_manager.h?rev=418048&view=auto
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean_manager.h (added)
+++ webservices/sandesha/trunk/c/include/sandesha2/sandesha2_sequence_property_bean_manager.h Thu Jun 29 06:58:30 2006
@@ -0,0 +1,130 @@
+/*
+ * copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+#ifndef SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_H
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_H
+
+#include <axis2_utils_defines.h>
+#include <axis2_env.h>
+#include <axis2_array_list.h>
+
+#include <sandesha2/sandesha2_sequence_property_bean.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct sandesha2_sequence_property_bean_manager sandesha2_sequence_property_bean_manager_t;
+typedef struct sandesha2_sequence_property_bean_manager_ops sandesha2_sequence_property_bean_manager_ops_t;
+
+AXIS2_DECLARE_DATA struct sandesha2_sequence_property_bean_manager_ops
+{
+
+ axis2_status_t (AXIS2_CALL *
+ free) (sandesha2_sequence_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env);
+
+ axis2_bool_t (AXIS2_CALL *
+ insert) (sandesha2_sequence_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_sequence_property_bean_t *prop_bean);
+
+
+ axis2_bool_t (AXIS2_CALL *
+ delete) (sandesha2_sequence_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id,
+ axis2_char_t *name);
+
+ sandesha2_sequence_property_bean_t* (AXIS2_CALL *
+ retrieve) (sandesha2_sequence_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ axis2_char_t *seq_id,
+ axis2_char_t *name);
+
+ axis2_bool_t (AXIS2_CALL *
+ update) ( sandesha2_sequence_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_sequence_property_bean_t *prop_bean);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ find) (sandesha2_sequence_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_sequence_property_bean_t *prop_bean);
+
+ sandesha2_sequence_property_bean_t* (AXIS2_CALL *
+ find_unique) (sandesha2_sequence_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_sequence_property_bean_t *prop_bean);
+
+ axis2_bool_t (AXIS2_CALL *
+ update_or_insert) (sandesha2_sequence_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env,
+ sandesha2_sequence_property_bean_t *prop_bean);
+
+ axis2_array_list_t* (AXIS2_CALL *
+ retrieve_all) (sandesha2_sequence_property_bean_manager_t *prop_bean_manager,
+ const axis2_env_t *env);
+
+};
+
+
+AXIS2_DECLARE_DATA struct sandesha2_sequence_property_bean_manager
+{
+ sandesha2_sequence_property_bean_manager_ops_t ops;
+};
+
+
+/* constructors
+ */
+
+AXIS2_EXTERN sandesha2_sequence_property_bean_manager_t* AXIS2_CALL
+ sandesha2_sequence_property_bean_manager_create(const axis2_env_t *env);
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_FREE(prop_bean_manager, env) \
+ ((prop_bean_manager)->ops->free(prop_bean_manager, env))
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_INSERT(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->insert(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_DELETE(prop_bean_manager, env, seq_id, name) \
+ ((prop_bean_manager)->ops->delete(prop_bean_manager, env, seq_id, name))
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_RETRIEVE(prop_bean_manager, env, seq_id, name) \
+ ((prop_bean_manager)->ops->retrieve(prop_bean_manager, env, seq_id, name))
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_UPDATE(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->update(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_FIND(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->find(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_FIND_UNIQUE(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->find_unique(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_UPDATE_OR_INSERT(prop_bean_manager, env, prop_bean) \
+ ((prop_bean_manager)->ops->update_or_insert(prop_bean_manager, env, prop_bean))
+
+#define SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_RETRIEVE_ALL(prop_bean_manager, env) \
+ ((prop_bean_manager)->ops->retrieve_all(prop_bean_manager, env))
+
+#ifdef __cplusplus
+}
+
+#endif
+
+#endif /* End of SANDESHA2_SEQUENCE_PROPERTY_BEAN_MANAGER_H*/
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org