You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2009/12/21 13:15:04 UTC
svn commit: r892791 - /webservices/axis2/trunk/c/include/axis2_msg_recv.h
Author: nandika
Date: Mon Dec 21 12:15:03 2009
New Revision: 892791
URL: http://svn.apache.org/viewvc?rev=892791&view=rev
Log:
axis2_msg_recv.h added new functions to set conf_ctx
Modified:
webservices/axis2/trunk/c/include/axis2_msg_recv.h
Modified: webservices/axis2/trunk/c/include/axis2_msg_recv.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_msg_recv.h?rev=892791&r1=892790&r2=892791&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg_recv.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg_recv.h Mon Dec 21 12:15:03 2009
@@ -237,6 +237,29 @@
axis2_msg_recv_create(
const axutil_env_t * env);
+ /**
+ * Configuration context is attached to the message receiver so that conf_ctx can be assccessed in load_and_init
+ * method at service load time.
+ * @param msg_recv axis2_msg_recv instance
+ * @param env axutil environment
+ * @param axis2_conf_ctx Configuration context instance
+ */
+ AXIS2_EXPORT void AXIS2_CALL
+ axis2_msg_recv_set_conf_ctx(
+ axis2_msg_recv_t *msg_recv,
+ const axutil_env_t *env,
+ struct axis2_conf_ctx *conf_ctx);
+
+ /**
+ * Returns the Configuration context which is attached to the message receiver
+ * @param msg_recv axis2_msg_recv instance
+ * @param env axutil environment
+ * @returns configuration context
+ */
+ AXIS2_EXPORT struct axis2_conf_ctx* AXIS2_CALL
+ axis2_msg_recv_get_conf_ctx(
+ axis2_msg_recv_t *msg_recv,
+ const axutil_env_t *env);
/** @} */
#ifdef __cplusplus
}