axis2_svc_ctx.h

Go to the documentation of this file.
00001 /*
00002 * Licensed to the Apache Software Foundation (ASF) under one or more
00003 * contributor license agreements.  See the NOTICE file distributed with
00004 * this work for additional information regarding copyright ownership.
00005 * The ASF licenses this file to You under the Apache License, Version 2.0
00006 * (the "License"); you may not use this file except in compliance with
00007 * the License.  You may obtain a copy of the License at
00008 *
00009 *      http://www.apache.org/licenses/LICENSE-2.0
00010 *
00011 * Unless required by applicable law or agreed to in writing, software
00012 * distributed under the License is distributed on an "AS IS" BASIS,
00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014 * See the License for the specific language governing permissions and
00015 * limitations under the License.
00016 */
00017 
00018 #ifndef AXIS2_SVC_CTX_H
00019 #define AXIS2_SVC_CTX_H
00020 
00034 #include <axis2_defines.h>
00035 #include <axutil_env.h>
00036 #include <axis2_op_ctx.h>
00037 
00038 #ifdef __cplusplus
00039 extern "C"
00040 {
00041 #endif
00042 
00044     typedef struct axis2_svc_ctx axis2_svc_ctx_t;
00045 
00057     AXIS2_EXTERN axis2_svc_ctx_t *AXIS2_CALL 
00058     axis2_svc_ctx_create(const axutil_env_t *env,
00059         struct axis2_svc *svc,
00060         struct axis2_svc_grp_ctx *svc_grp_ctx);
00061 
00068     AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
00069     axis2_svc_ctx_get_base(const axis2_svc_ctx_t *svc_ctx,
00070         const axutil_env_t *env);
00071 
00072 
00079     AXIS2_EXTERN struct axis2_svc_grp_ctx *AXIS2_CALL
00080     axis2_svc_ctx_get_parent(const axis2_svc_ctx_t *svc_ctx,
00081         const axutil_env_t *env);
00082         
00090     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00091     axis2_svc_ctx_set_parent(
00092         axis2_svc_ctx_t *svc_ctx,
00093         const axutil_env_t *env,
00094         struct axis2_svc_grp_ctx *parent);
00095 
00096 
00103     AXIS2_EXTERN void AXIS2_CALL
00104     axis2_svc_ctx_free(struct axis2_svc_ctx *svc_ctx,
00105         const axutil_env_t *env);
00106 
00107 
00117     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00118     axis2_svc_ctx_init(struct axis2_svc_ctx *svc_ctx,
00119         const axutil_env_t *env,
00120         struct axis2_conf *conf);
00121 
00129     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00130     axis2_svc_ctx_get_svc_id(const axis2_svc_ctx_t *svc_ctx,
00131         const axutil_env_t *env);
00132 
00133 
00140     AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
00141     axis2_svc_ctx_get_svc(const axis2_svc_ctx_t *svc_ctx,
00142         const axutil_env_t *env);
00143 
00152     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00153     axis2_svc_ctx_set_svc(axis2_svc_ctx_t *svc_ctx,
00154         const axutil_env_t *env,
00155         struct axis2_svc *svc);
00156 
00157 
00165     AXIS2_EXTERN struct axis2_conf_ctx *AXIS2_CALL
00166     axis2_svc_ctx_get_conf_ctx(const axis2_svc_ctx_t *svc_ctx,
00167         const axutil_env_t *env);
00168 
00169 
00179     AXIS2_EXTERN struct axis2_op_ctx *AXIS2_CALL
00180     axis2_svc_ctx_create_op_ctx(struct axis2_svc_ctx *svc_ctx,
00181         const axutil_env_t *env,
00182         const axutil_qname_t *qname);
00183 
00184 #ifdef __cplusplus
00185 }
00186 #endif
00187 
00188 #endif                          /* AXIS2_SVC_CTX_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6