View Javadoc

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ファイルで、使用するAxisエンジンを指示するために <code>&lt;meta&gt;</code> 要素に指定する
61       * <code>name</code> 属性値のローカル名(接頭辞 <code>"axis-"</code> の後ろ)です。
62       */
63      String META_ENGINE = "engine";
64  
65      /***
66       * diconファイルで、WSDDファイルをデプロイするを指示するために <code>&lt;meta&gt;</code> 要素に指定する
67       * <code>name</code> 属性値のローカル名(接頭辞 <code>"axis-"</code> の後ろ)です。
68       */
69      String META_DEPLOY = "deploy";
70  
71      /***
72       * diconファイルで、コンポーネントがAxisサービスであることを示すために <code>&lt;meta&gt;</code>
73       * 要素に指定する <code>name</code> 属性値のローカル名(接頭辞 <code>"axis-"</code> の後ろ)です。
74       */
75      String META_SERVICE = "service";
76  
77      /***
78       * diconファイルで、コンポーネントがAxisハンドラであることを示すために <code>&lt;meta&gt;</code>
79       * 要素に指定する <code>name</code> 属性値のローカル名(接頭辞 <code>"axis-"</code> の後ろ)です。
80       */
81      String META_HANDLER = "handler";
82  
83      /***
84       * S2Axisがインスタンス管理を行うRPCプロバイダのローカル名です。
85       */
86      String PROVIDER_S2RPC = "S2RPC";
87  
88      /***
89       * S2Axisがインスタンス管理を行うMSGプロバイダのローカル名です。
90       */
91      String PROVIDER_S2MSG = "S2MSG";
92  
93      /***
94       * デフォルトのAxisエンジンを使用することを示します。
95       */
96      String ENGINE_DEFAULT = "default";
97  
98      /***
99       * デフォルトのAxisクライアントエンジンを使用することを示します。
100      */
101     String ENGINE_DEFAULT_CLIENT = "default-client";
102 
103     /***
104      * デフォルトのAxisサーバエンジンを使用することを示します。
105      */
106     String ENGINE_DEFAULT_SERVER = "default-server";
107 
108     /***
109      * サーブレットコンテキストからAxisエンジンを取得することを示します。
110      */
111     String ENGINE_FROM_SERVLET = "servlet:";
112 
113     /***
114      * S2コンテナからAxisエンジンを取得することを示します。
115      */
116     String ENGINE_FROM_S2CONTAINER = "s2:";
117 
118     /***
119      * AxisServletのサーブレット名です。
120      */
121     String AXIS_SERVLET = "AxisServlet";
122 
123     /***
124      * サーブレットコンテキストからAxisエンジンを取得するためのキーです。
125      */
126     String ATTR_AXIS_ENGINE = "AxisEngine";
127 }