1 /*
2 *
3 * The Seasar Software License, Version 1.1
4 *
5 * Copyright (c) 2003-2004 The Seasar Project. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or
8 * without modification, are permitted provided that the following
9 * conditions are met:
10 *
11 * 1. Redistributions of source code must retain the above
12 * copyright notice, this list of conditions and the following
13 * disclaimer.
14 *
15 * 2. Redistributions in binary form must reproduce the above
16 * copyright notice, this list of conditions and the following
17 * disclaimer in the documentation and/or other materials provided
18 * with the distribution.
19 *
20 * 3. The end-user documentation included with the redistribution,
21 * if any, must include the following acknowledgement:
22 * "This product includes software developed by the
23 * Seasar Project (http://www.seasar.org/)."
24 * Alternately, this acknowledgement may appear in the software
25 * itself, if and wherever such third-party acknowledgements
26 * normally appear.
27 *
28 * 4. Neither the name "The Seasar Project" nor the names of its
29 * contributors may be used to endorse or promote products derived
30 * from this software without specific prior written permission of
31 * the Seasar Project.
32 *
33 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR
34 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
35 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
36 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE SEASAR PROJECT
37 * OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
38 * INCIDENTAL,SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
39 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
40 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
41 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
42 * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING
43 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
44 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 */
46 package org.seasar.remoting.axis;
47
48 /***
49 * S2Axisで使用する定数です。
50 *
51 * @author koichik
52 */
53 public interface S2AxisConstants {
54 /***
55 * オペレーション名の名前空間URI
56 */
57 String OPERATION_NAMESPACE_URI = "http://soapinterop.org/";
58
59 /***
60 * diconファイル中に記述する <code><meta></code> 要素に指定する <code>name</code>
61 * 属性の接頭辞です。
62 */
63 String META_S2AXIS_PREFIX = "s2-axis";
64
65 /***
66 * diconファイルで、使用するAxisエンジンを指示するために <code><meta></code> 要素に指定する
67 * <code>name</code> 属性の値です。
68 */
69 String META_S2AXIS_ENGINE = META_S2AXIS_PREFIX + ":engine";
70
71 /***
72 * diconファイルで、WSDDファイルをデプロイするを指示するために <code><meta></code> 要素に指定する
73 * <code>name</code> 属性の値です。
74 */
75 String META_S2AXIS_DEPLOY = META_S2AXIS_PREFIX + ":deploy";
76
77 /***
78 * diconファイルで、コンポーネントがAxisサービスであることを示すために <code><meta></code>
79 * 要素に指定する <code>name</code> 属性の値です。
80 */
81 String META_S2AXIS_SERVICE = META_S2AXIS_PREFIX + ":service";
82
83 /***
84 * diconファイルで、コンポーネントがAxisハンドラであることを示すために <code><meta></code>
85 * 要素に指定する <code>name</code> 属性の値です。
86 */
87 String META_S2AXIS_HANDLER = META_S2AXIS_PREFIX + ":handler";
88 /***
89 * S2Axisがインスタンス管理を行うRPCプロバイダのローカル名です。
90 */
91 String PROVIDER_S2RPC = "S2RPC";
92
93 /***
94 * S2Axisがインスタンス管理を行うMSGプロバイダのローカル名です。
95 */
96 String PROVIDER_S2MSG = "S2MSG";
97
98 /***
99 * デフォルトのAxisエンジンを使用することを示します。
100 */
101 String ENGINE_DEFAULT = "default";
102
103 /***
104 * デフォルトのAxisクライアントエンジンを使用することを示します。
105 */
106 String ENGINE_DEFAULT_CLIENT = "default-client";
107
108 /***
109 * デフォルトのAxisサーバエンジンを使用することを示します。
110 */
111 String ENGINE_DEFAULT_SERVER = "default-server";
112
113 /***
114 * サーブレットコンテキストからAxisエンジンを取得することを示します。
115 */
116 String ENGINE_FROM_SERVLET = "servlet:";
117
118 /***
119 * S2コンテナからAxisエンジンを取得することを示します。
120 */
121 String ENGINE_FROM_S2CONTAINER = "s2:";
122
123 /***
124 * AxisServletのサーブレット名です。
125 */
126 String AXIS_SERVLET = "AxisServlet";
127
128 /***
129 * サーブレットコンテキストからAxisエンジンを取得するためのキーです。
130 */
131 String ATTR_AXIS_ENGINE = "AxisEngine";
132 }