# axis2_svc_grp.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_H
    00020 #define AXIS2_SVC_GRP_H
    00021
    00048 #include <axutil_param_container.h>
    00049 #include <axis2_desc.h>
    00050 #include <axis2_svc.h>
    00051 #include <axis2_svc_grp_ctx.h>
    00052
    00053 #ifdef __cplusplus
    00054 extern "C"
    00055 {
    00056 #endif
    00057
    00059     typedef struct axis2_svc_grp axis2_svc_grp_t;
    00060
    00061     struct axis2_svc;
    00062     struct axis2_svc_grp_ctx;
    00063
    00070     AXIS2_EXTERN void AXIS2_CALL
    00071     axis2_svc_grp_free(
    00072         axis2_svc_grp_t * svc_grp,
    00073         const axutil_env_t * env);
    00074
    00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00083     axis2_svc_grp_set_name(
    00084         axis2_svc_grp_t * svc_grp,
    00085         const axutil_env_t * env,
    00086         const axis2_char_t * svc_grp_name);
    00087
    00094     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00095     axis2_svc_grp_get_name(
    00096         const axis2_svc_grp_t * svc_grp,
    00097         const axutil_env_t * env);
    00098
    00107     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00108     axis2_svc_grp_add_svc(
    00109         axis2_svc_grp_t * svc_grp,
    00110         const axutil_env_t * env,
    00111         struct axis2_svc *svc);
    00112
    00121     AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
    00122                 axis2_svc_grp_get_svc(
    00123                     const axis2_svc_grp_t * svc_grp,
    00124                     const axutil_env_t * env,
    00125                     const axutil_qname_t * svc_qname);
    00126
    00134     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
    00135     axis2_svc_grp_get_all_svcs(
    00136         const axis2_svc_grp_t * svc_grp,
    00137         const axutil_env_t * env);
    00138
    00146     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00147     axis2_svc_grp_remove_svc(
    00148         axis2_svc_grp_t * svc_grp,
    00149         const axutil_env_t * env,
    00150         const axutil_qname_t * svc_qname);
    00151
    00160     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00161     axis2_svc_grp_add_param(
    00162         axis2_svc_grp_t * svc_grp,
    00163         const axutil_env_t * env,
    00164         axutil_param_t * param);
    00165
    00174     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
    00175     axis2_svc_grp_get_param(
    00176         const axis2_svc_grp_t * svc_grp,
    00177         const axutil_env_t * env,
    00178         const axis2_char_t * name);
    00179
    00187     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00188
    00189     axis2_svc_grp_get_all_params(
    00190         const axis2_svc_grp_t * svc_grp,
    00191         const axutil_env_t * env);
    00192
    00200     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00201     axis2_svc_grp_is_param_locked(
    00202         axis2_svc_grp_t * svc_grp,
    00203         const axutil_env_t * env,
    00204         const axis2_char_t * param_name);
    00205
    00213     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00214     axis2_svc_grp_add_module_qname(
    00215         axis2_svc_grp_t * svc_grp,
    00216         const axutil_env_t * env,
    00217         const axutil_qname_t * module_qname);
    00218
    00226     AXIS2_EXTERN struct axis2_conf *AXIS2_CALL
    00227                 axis2_svc_grp_get_parent(
    00228                     const axis2_svc_grp_t * svc_grp,
    00229                     const axutil_env_t * env);
    00230
    00239     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00240     axis2_svc_grp_set_parent(
    00241         axis2_svc_grp_t * svc_grp,
    00242         const axutil_env_t * env,
    00243         struct axis2_conf *parent);
    00244
    00254     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00255     axis2_svc_grp_engage_module(
    00256         axis2_svc_grp_t * svc_grp,
    00257         const axutil_env_t * env,
    00258         const axutil_qname_t * module_qname);
    00259
    00267     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00268
    00269     axis2_svc_grp_get_all_module_qnames(
    00270         const axis2_svc_grp_t * svc_grp,
    00271         const axutil_env_t * env);
    00272
    00280     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00281     axis2_svc_grp_add_module_ref(
    00282         axis2_svc_grp_t * svc_grp,
    00283         const axutil_env_t * env,
    00284         const axutil_qname_t * moduleref);
    00285
    00293     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00294
    00295     axis2_svc_grp_get_all_module_refs(
    00296         const axis2_svc_grp_t * svc_grp,
    00297         const axutil_env_t * env);
    00298
    00308     AXIS2_EXTERN struct axis2_svc_grp_ctx *AXIS2_CALL
    00309
    00310                 axis2_svc_grp_get_svc_grp_ctx(
    00311                     const axis2_svc_grp_t * svc_grp,
    00312                     const axutil_env_t * env,
    00313                     struct axis2_conf_ctx *parent);
    00314
    00315     AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
    00316
    00317     axis2_svc_grp_get_param_container(
    00318         const axis2_svc_grp_t * svc_grp,
    00319         const axutil_env_t * env);
    00320
    00326     AXIS2_EXTERN axis2_svc_grp_t *AXIS2_CALL
    00327     axis2_svc_grp_create(
    00328         const axutil_env_t * env);
    00329
    00337     AXIS2_EXTERN axis2_svc_grp_t *AXIS2_CALL
    00338     axis2_svc_grp_create_with_conf(
    00339         const axutil_env_t * env,
    00340         struct axis2_conf *conf);
    00341
    00348     AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
    00349     axis2_svc_grp_get_base(
    00350         const axis2_svc_grp_t * svc_grp,
    00351         const axutil_env_t * env);
    00352
    00353 #ifdef __cplusplus
    00354 }
    00355 #endif
    00356 #endif                          /* AXIS2_SVC_GRP_H  */