KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis2 > Constants


1 /*
2  * Copyright 2004,2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.axis2;
17
18 /**
19  * Class Constants
20  */

21 public class Constants {
22     /**
23      * Field SOAP_STYLE_RPC_ENCODED
24      */

25     public static final int SOAP_STYLE_RPC_ENCODED = 1000;
26
27     /**
28      * Field SOAP_STYLE_RPC_LITERAL
29      */

30     public static final int SOAP_STYLE_RPC_LITERAL = 1001;
31
32     /**
33      * Field SOAP_STYLE_DOC_LITERAL_WRAPPED
34      */

35     public static final int SOAP_STYLE_DOC_LITERAL_WRAPPED = 1002;
36
37     /**
38      * Field APPLICATION_SCOPE
39      */

40     public static final String JavaDoc APPLICATION_SCOPE = "application";
41
42     /**
43      * Field SESSION_SCOPE
44      */

45     public static final String JavaDoc SESSION_SCOPE = "session";
46
47     /**
48      * Field GLOBAL_SCOPE
49      */

50     public static final String JavaDoc MESSAGE_SCOPE = "message";
51
52     /**
53      * Field PHASE_SERVICE
54      */

55     public static final String JavaDoc PHASE_SERVICE = "service";
56
57     /**
58      * Field PHASE_TRANSPORT
59      */

60     public static final String JavaDoc PHASE_TRANSPORT = "transport";
61
62     /**
63      * Field PHASE_GLOBAL
64      */

65     public static final String JavaDoc PHASE_GLOBAL = "global";
66
67     /**
68      * Field SESSION_CONTEXT_PROPERTY
69      */

70     public static final String JavaDoc SESSION_CONTEXT_PROPERTY = "SessionContext";
71
72     /**
73      * Field TRANSPORT_TCP
74      */

75     public static final String JavaDoc TRANSPORT_TCP = "tcp";
76
77     /**
78      * Field TRANSPORT_HTTP
79      */

80     public static final String JavaDoc TRANSPORT_HTTP = "http";
81     
82     public static final String JavaDoc TRANSPORT_COMMONS_HTTP = "commons-http";
83     
84     public static final String JavaDoc TRANSPORT_MAIL = "mail";
85
86     public static final String JavaDoc TRANSPORT_JMS = "jms";
87     
88     public static final String JavaDoc TRANSPORT_LOCAL = "local";
89
90     /**
91      * Field LISTSERVICES
92      */

93     public static final String JavaDoc REQUEST_URL_PREFIX = "/services";
94     
95     public static final String JavaDoc LISTSERVICES = "listServices";
96
97     public static final String JavaDoc LIST_SERVICE_FOR_MODULE_ENGAMNET = "listoperation";
98
99     /**
100      * List service for adminpagse
101      */

102     public static final String JavaDoc ADMIN_LISTSERVICES = "listService";
103
104     public static final String JavaDoc LIST_MODULES = "listModules";
105
106     public static final String JavaDoc LIST_GLOABLLY_ENGAGED_MODULES = "globalModules";
107
108     public static final String JavaDoc LIST_PHASES = "listPhases";
109
110     public static final String JavaDoc ENGAGE_GLOBAL_MODULE = "engagingglobally";
111     public static final String JavaDoc ENGAGE_MODULE_TO_SERVICE = "engageToService";
112
113     public static final String JavaDoc ADMIN_LOGGING = "adminloging";
114
115     public static final String JavaDoc VIEW_GLOBAL_HANDLERS = "viewGlobalHandlers";
116     public static final String JavaDoc SELECT_SERVICE = "selectService";
117     public static final String JavaDoc VIEW_SERVICE_HANDLERS = "viewServiceHandlers";
118
119     /**
120      * Field SERVICE_MAP
121      */

122     public static final String JavaDoc SERVICE_MAP = "servicemap";
123
124     public static final String JavaDoc OPEARTION_MAP = "operationmap";
125     /**
126      * Field Available modules
127      */

128     public static final String JavaDoc MODULE_MAP = "modulemap";
129
130     public static final String JavaDoc MODULE_ENGAMENT = "module_engaging";
131
132     public static final String JavaDoc GLOBAL_HANDLERS = "axisconfig";
133     public static final String JavaDoc SERVICE_HANDLERS = "serviceHandlers";
134
135     public static final String JavaDoc PHASE_LIST = "phaseList";
136
137     public static final String JavaDoc LIST_OPERATIONS_FOR_THE_SERVICE = "listOperations";
138
139     public static final String JavaDoc ENGAGE_STATUS = "engagestatus";
140
141     /**
142      * Errorness servcie
143      */

144     public static final String JavaDoc ERROR_SERVICE_MAP = "errprservicemap";
145     public static final String JavaDoc ERROR_MODULE_MAP = "errormodulesmap";
146
147     public static final String JavaDoc IS_FAULTY = "Fault";
148
149     public static final String JavaDoc MODULE_ADDRESSING = "addressing";
150
151     public static final String JavaDoc USER_NAME = "userName";
152     public static final String JavaDoc PASSWORD = "password";
153
154     /**
155      * Field SINGLE_SERVICE
156      */

157     public static final String JavaDoc SINGLE_SERVICE = "singleservice";
158     public static final String JavaDoc WSDL_CONTENT = "wsdl";
159
160     /**
161      * Field METHOD_NAME_ESCAPE_CHARACTOR
162      */

163     public static final char METHOD_NAME_ESCAPE_CHARACTOR = '?';
164
165     public static final String JavaDoc LOGGED = "Logged";
166
167
168    public static interface Configuration {
169         public static final String JavaDoc ENABLE_REST = "enableREST";
170         // globally enable MTOM
171
public static final String JavaDoc ENABLE_MTOM = "enableMTOM";
172         public static final String JavaDoc ATTACHMENT_TEMP_DIR = "attachmentDIR";
173         public static final String JavaDoc CACHE_ATTACHMENTS = "cacheAttachments";
174     }
175     public static final String JavaDoc VALUE_TRUE = "true";
176     public static final String JavaDoc VALUE_FALSE = "false";
177     public static final String JavaDoc CONTAINER_MANAGED = "ContainerManaged";
178     public static final String JavaDoc RESPONSE_WRITTEN = "CONTENT_WRITTEN";
179     
180     
181     public static final String JavaDoc TESTING_PATH = "target/test-resources/";
182     //public static final String TESTING_PATH = "modules/samples/target/test-resources/";
183

184    public static final String JavaDoc TESTING_REPOSITORY = TESTING_PATH+ "samples";
185    
186    
187     
188     
189     public static interface REST_WITH_GET{
190         public static final String JavaDoc GET_PARAMETER_OPERATION = "operation";
191         public static final String JavaDoc GET_PARAMETER_URL = "http://ws.apache.org/goGetWithREST";
192     
193     }
194
195
196 }
197
Popular Tags