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