w2c_config_property_loader.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016   
00017 #ifndef W2C_CONFIG_PROPERTY_LOADER_H
00018 #define W2C_CONFIG_PROPERTY_LOADER_H
00019 
00025 #include <axis2_utils.h>
00026 #include <axis2_array_list.h>
00027 #include <axis2_hash.h>
00028 
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033 
00040 typedef struct w2c_config_property_loader w2c_config_property_loader_t;
00041 typedef struct w2c_config_property_loader_ops w2c_config_property_loader_ops_t;
00042 
00043 AXIS2_DECLARE_DATA  struct w2c_config_property_loader_ops
00044 {
00052     axis2_status_t (AXIS2_CALL *
00053     free)(w2c_config_property_loader_t *config_property_loader,
00054          const axis2_env_t *env);
00055 
00064     axis2_status_t (AXIS2_CALL *
00065     set_filename)(w2c_config_property_loader_t *config_property_loader,
00066          const axis2_env_t *env, axis2_char_t *filename);
00067 
00075     axis2_status_t (AXIS2_CALL *
00076     reload )(w2c_config_property_loader_t *config_property_loader,
00077          const axis2_env_t *env);
00078     
00085     axis2_char_t* (AXIS2_CALL* 
00086     get_test_object_template_name )(
00087         w2c_config_property_loader_t *config_property_loader,
00088         const axis2_env_t *env);
00089     
00096     axis2_char_t* (AXIS2_CALL*
00097     get_db_supporter_template_name )(
00098         w2c_config_property_loader_t *config_property_loader,
00099         const axis2_env_t *env);
00105     axis2_array_list_t* (AXIS2_CALL* 
00106     get_extension_class_names )(
00107         w2c_config_property_loader_t *config_property_loader,
00108         const axis2_env_t *env);
00114     axis2_array_list_t* (AXIS2_CALL* 
00115     get_post_extension_class_names )(
00116         w2c_config_property_loader_t *config_property_loader,
00117         const axis2_env_t *env);
00118     
00124     axis2_array_list_t* (AXIS2_CALL* 
00125     get_third_party_schema_names )(
00126         w2c_config_property_loader_t *config_property_loader,
00127         const axis2_env_t *env);
00128     
00134     axis2_array_list_t* (AXIS2_CALL* 
00135     get_language_types )(
00136         w2c_config_property_loader_t *config_property_loader,
00137         const axis2_env_t *env);
00138     
00144     axis2_hash_t* (AXIS2_CALL* 
00145     get_language_emitter_map )(
00146         w2c_config_property_loader_t *config_property_loader,
00147         const axis2_env_t *env);
00148     
00154     axis2_char_t* (AXIS2_CALL* 
00155     get_default_language )(
00156         w2c_config_property_loader_t *config_property_loader,
00157         const axis2_env_t *env);
00158     
00164     axis2_hash_t* (AXIS2_CALL* 
00165     get_language_specific_properties_map )(
00166         w2c_config_property_loader_t *config_property_loader,
00167         const axis2_env_t *env);
00168     
00174     axis2_array_list_t* (AXIS2_CALL* 
00175     get_databinding_framework_names )(
00176         w2c_config_property_loader_t *config_property_loader,
00177         const axis2_env_t *env);
00178     
00185     axis2_hash_t* (AXIS2_CALL* 
00186     get_databinding_framework_name_to_extension_map )(
00187         w2c_config_property_loader_t *config_property_loader,
00188         const axis2_env_t *env);
00189     
00195     axis2_char_t* (AXIS2_CALL* 
00196     get_default_db_framework_name )(
00197         w2c_config_property_loader_t *config_property_loader,
00198         const axis2_env_t *env);
00199 };
00200 
00201 AXIS2_DECLARE_DATA  struct w2c_config_property_loader
00202 {
00203      struct w2c_config_property_loader_ops *ops;
00204 };
00205 
00211 AXIS2_EXTERN w2c_config_property_loader_t* AXIS2_CALL
00212 w2c_config_property_loader_create( const axis2_env_t *env);
00213 
00214 /*************************** Function macros **********************************/
00215 
00216 #define W2C_CONFIG_PROPERTY_LOADER_FREE(config_property_loader, env) \
00217       ((config_property_loader)->ops->free (config_property_loader, env)) 
00218 
00219 #define W2C_CONFIG_PROPERTY_LOADER_SET_FILENAME(config_property_loader, env, filename) \
00220       ((config_property_loader)->ops->set_filename (config_property_loader, env, filename)) 
00221 
00222 #define W2C_CONFIG_PROPERTY_LOADER_RELOAD(config_property_loader, env) \
00223       ((config_property_loader)->ops->reload (config_property_loader, env)) 
00224 
00225 #define W2C_CONFIG_PROPERTY_LOADER_GET_TEST_OBJECT_TEMPLATE_NAME (config_property_loader, env) \
00226       ((config_property_loader)->ops->get_test_object_template_name  (config_property_loader, env))
00227 
00228 #define W2C_CONFIG_PROPERTY_LOADER_GET_DB_SUPPORTER_TEMPLATE_NAME (config_property_loader, env) \
00229       ((config_property_loader)->ops->get_db_supporter_template_name  (config_property_loader, env))
00230 
00231 #define W2C_CONFIG_PROPERTY_LOADER_GET_EXTENSION_CLASS_NAMES(config_property_loader, env) \
00232       ((config_property_loader)->ops->get_extension_class_names (config_property_loader, env))
00233 
00234 #define W2C_CONFIG_PROPERTY_LOADER_GET_POST_EXTENSION_CLASS_NAMES(config_property_loader, env) \
00235       ((config_property_loader)->ops->get_post_extension_class_names (config_property_loader, env))
00236 
00237 #define W2C_CONFIG_PROPERTY_LOADER_GET_THIRD_PARTY_SCHEMA_NAMES(config_property_loader, env) \
00238       ((config_property_loader)->ops->get_third_party_schema_names (config_property_loader, env))
00239 
00240 #define W2C_CONFIG_PROPERTY_LOADER_GET_LANGUAGE_TYPES (config_property_loader, env) \
00241       ((config_property_loader)->ops->get_language_types  (config_property_loader, env))
00242 
00243 #define W2C_CONFIG_PROPERTY_LOADER_GET_LANGUAGE_EMITTER_MAP(config_property_loader, env) \
00244       ((config_property_loader)->ops->get_language_emitter_map (config_property_loader, env))
00245 
00246 #define W2C_CONFIG_PROPERTY_LOADER_GET_DEFAULT_LANGUAGE(config_property_loader, env) \
00247       ((config_property_loader)->ops->get_default_language (config_property_loader, env))
00248 
00249 #define W2C_CONFIG_PROPERTY_LOADER_GET_LANGUAGE_SPECIFIC_PROPERTIES_MAP(config_property_loader, env) \
00250       ((config_property_loader)->ops->get_language_specific_properties_map (config_property_loader, env))
00251 
00252 #define W2C_CONFIG_PROPERTY_LOADER_GET_DATABINDING_FARMEWORK_NAMES(config_property_loader, env) \
00253       ((config_property_loader)->ops->get_databinding_framework_names (config_property_loader, env))
00254 
00255 #define W2C_CONFIG_PROPERTY_LOADER_GET_DATABIDNING_FRAMEWORK_NAME_TO_EXTENSION_MAP(config_property_loader, env) \
00256       ((config_property_loader)->ops->get_databinding_framework_name_to_extension_map (config_property_loader, env))
00257 
00258 #define W2C_CONFIG_PROPERTY_LOADER_GET_DEFAULT_DB_FRMAEWORK_NAME(config_property_loader, env) \
00259       ((config_property_loader)->ops->get_default_db_framework_name (config_property_loader, env))
00260 
00261 
00262 
00263 
00266 #ifdef __cplusplus
00267 }
00268 #endif
00269 
00270 #endif /* W2C_CONFIG_PROPERTY_LOADER_H */

Generated on Tue Oct 3 22:35:48 2006 for Axis2/C by  doxygen 1.4.7