# axis2_svc_grp_ctx.h

Go to the documentation of this file.

    00001
    00002 /*
    00003 * Licensed to the Apache Software Foundation (ASF) under one or more
    00004 * contributor license agreements.  See the NOTICE file distributed with
    00005 * this work for additional information regarding copyright ownership.
    00006 * The ASF licenses this file to You under the Apache License, Version 2.0
    00007 * (the "License"); you may not use this file except in compliance with
    00008 * the License.  You may obtain a copy of the License at
    00009 *
    00010 *      http://www.apache.org/licenses/LICENSE-2.0
    00011 *
    00012 * Unless required by applicable law or agreed to in writing, software
    00013 * distributed under the License is distributed on an "AS IS" BASIS,
    00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00015 * See the License for the specific language governing permissions and
    00016 * limitations under the License.
    00017 */
    00018
    00019 #ifndef AXIS2_SVC_GRP_CTX_H
    00020 #define AXIS2_SVC_GRP_CTX_H
    00021
    00035 #include <axis2_defines.h>
    00036 #include <axutil_env.h>
    00037 #include <axis2_svc_ctx.h>
    00038 #include <axis2_svc_grp.h>
    00039
    00040 #ifdef __cplusplus
    00041 extern "C"
    00042 {
    00043 #endif
    00044
    00045     struct axis2_svc_grp;
    00046
    00048     typedef struct axis2_svc_grp_ctx axis2_svc_grp_ctx_t;
    00049
    00060     AXIS2_EXTERN axis2_svc_grp_ctx_t *AXIS2_CALL
    00061     axis2_svc_grp_ctx_create(
    00062         const axutil_env_t * env,
    00063         struct axis2_svc_grp *svc_grp,
    00064         struct axis2_conf_ctx *conf_ctx);
    00065
    00073     AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
    00074     axis2_svc_grp_ctx_get_base(
    00075         const axis2_svc_grp_ctx_t * svc_grp_ctx,
    00076         const axutil_env_t * env);
    00077
    00085     AXIS2_EXTERN struct axis2_conf_ctx *AXIS2_CALL
    00086     axis2_svc_grp_ctx_get_parent(
    00087         const axis2_svc_grp_ctx_t * svc_grp_ctx,
    00088         const axutil_env_t * env);
    00089
    00096     AXIS2_EXTERN void AXIS2_CALL
    00097     axis2_svc_grp_ctx_free(
    00098         struct axis2_svc_grp_ctx *svc_grp_ctx,
    00099         const axutil_env_t * env);
    00100
    00110     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00111     axis2_svc_grp_ctx_init(
    00112         struct axis2_svc_grp_ctx *svc_grp_ctx,
    00113         const axutil_env_t * env,
    00114         struct axis2_conf *conf);
    00115
    00122     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00123     axis2_svc_grp_ctx_get_id(
    00124         const axis2_svc_grp_ctx_t * svc_grp_ctx,
    00125         const axutil_env_t * env);
    00126
    00134     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00135     axis2_svc_grp_ctx_set_id(
    00136         struct axis2_svc_grp_ctx *svc_grp_ctx,
    00137         const axutil_env_t * env,
    00138         const axis2_char_t * id);
    00139
    00147     AXIS2_EXTERN struct axis2_svc_ctx *AXIS2_CALL
    00148     axis2_svc_grp_ctx_get_svc_ctx(
    00149         const axis2_svc_grp_ctx_t * svc_grp_ctx,
    00150         const axutil_env_t * env,
    00151         const axis2_char_t * svc_name);
    00152
    00160     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00161     axis2_svc_grp_ctx_fill_svc_ctx_map(
    00162         struct axis2_svc_grp_ctx *svc_grp_ctx,
    00163         const axutil_env_t * env);
    00164
    00172     AXIS2_EXTERN struct axis2_svc_grp *AXIS2_CALL
    00173     axis2_svc_grp_ctx_get_svc_grp(
    00174         const axis2_svc_grp_ctx_t * svc_grp_ctx,
    00175         const axutil_env_t * env);
    00176
    00183     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
    00184     axis2_svc_grp_ctx_get_svc_ctx_map(
    00185         const axis2_svc_grp_ctx_t * svc_grp_ctx,
    00186         const axutil_env_t * env);
    00187
    00190 #ifdef __cplusplus
    00191 }
    00192 #endif
    00193
    00194 #endif                          /* AXIS2_SVC_GRP_CTX_H */