summaryrefslogtreecommitdiffstats
path: root/src/core/deployment/axis2_deployment.h
blob: 044f10f518a7572eb3dc93a2cfb1e17687ccb296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef AXIS2_DEPLOYMENT_H
#define AXIS2_DEPLOYMENT_H

/**
 * @file axis2_axis2_deployment.h
 * @brief axis2 deployment
 */

#include <axis2_const.h>
#include <axutil_error.h>
#include <axis2_defines.h>
#include <axutil_env.h>
#include <axutil_allocator.h>
#include <axutil_string.h>
#include <axutil_hash.h>

#ifdef __cplusplus
extern "C"
{
#endif

/*********************************** Constansts********************************/

/**
 * DeployCons interface is to keep constent value required for Deployemnt
 */

#define AXIS2_SVC 0             /* if it is a service */
#define AXIS2_MODULE 1          /* if it is a module */

#define AXIS2_SVC_XML "services.xml"
#define AXIS2_MODULE_XML "module.xml"
#define AXIS2_PARAMETERST "parameter"   /* paramater start tag */
#define AXIS2_HANDLERST "handler"
#define AXIS2_MODULEST "module"
#define AXIS2_PHASEST "phase"
#define AXIS2_PHASE_ORDER "phaseOrder"
#define AXIS2_OPERATIONST "operation"   /* operation start tag */
#define AXIS2_IN_FLOW_START "inflow"    /* inflow start tag */
#define AXIS2_OUT_FLOW_START "outflow"  /* outflowr start tag */
#define AXIS2_IN_FAILTFLOW "INfaultflow"    /* faultflow start tag */
#define AXIS2_OUT_FAILTFLOW "Outfaultflow"  /* faultflow start tag */

#define AXIS2_MODULE_PATH "modules"
#define AXIS2_SVC_PATH "services"

/* for parameters */
#define AXIS2_ATTNAME "name"
#define AXIS2_ATTLOCKED "locked"
#define AXIS2_TYPE "type"

/* for operations */
#define AXIS2_MEP "mep"

/* for messages */
#define AXIS2_MESSAGE "message"
#define AXIS2_LABEL "label"

/* for handlers */
#define AXIS2_REF "ref"
#define AXIS2_CLASSNAME "class"
#define AXIS2_BEFORE "before"
#define AXIS2_AFTER "after"
#define AXIS2_PHASE "phase"
#define AXIS2_PHASEFIRST "phaseFirst"
#define AXIS2_PHASELAST "phaseLast"
#define AXIS2_ORDER "order"     /* to resolve the order tag */
#define AXIS2_DESCRIPTION "description"

#define AXIS2_TRANSPORTSENDER "transportSender"
#define AXIS2_TRANSPORTRECEIVER "transportReceiver"

#define AXIS2_MESSAGERECEIVER "messageReceiver"

#define AXIS2_HOTDEPLOYMENT "hotdeployment"
#define AXIS2_HOTUPDATE "hotupdate"
#define AXIS2_DISPATCH_ORDER "dispatchOrder"
#define AXIS2_DISPATCHER "dispatcher"

/* element in a services.xml */
#define AXIS2_SVC_ELEMENT "service"
#define AXIS2_SVC_WSDL_PATH "wsdl_path"
#define AXIS2_SVC_GRP_ELEMENT "serviceGroup"

#define AXIS2_SERVER_XML_FILE "axis2.xml"

#define AXIS2_MODULE_FOLDER "modules"
#define AXIS2_SERVICE_FOLDER "services"
#define AXIS2_LIB_FOLDER "lib"
#define AXIS2_LIB_DIR "libDir"

#define AXIS2_ATTRIBUTE_DEFAULT_VERSION "version"
#define AXIS2_DEFAULT_MODULE_VERSION "defaultModuleVersions"

/*********************************** Constants*********************************/

#ifdef __cplusplus
}
#endif

#endif                          /* AXIS2_DEPLOYMENT_H */