|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.axis.server.deployment.Deployer
diconファイル中に記述されたコンポーネントをAxisにデプロイします。
フィールドの概要 | |
protected org.apache.axis.server.AxisServer |
axisEngine
|
protected org.apache.axis.WSDDEngineConfiguration |
configuration
|
protected org.seasar.framework.container.S2Container |
container
|
protected org.apache.axis.deployment.wsdd.WSDDDeployment |
deployment
|
protected javax.servlet.ServletContext |
servletContext
|
コンストラクタの概要 | |
Deployer()
|
メソッドの概要 | |
WSDDS2Service |
createWSDDS2Service(org.seasar.framework.container.ComponentDef componentDef,
org.seasar.framework.container.MetaDef metaDef)
WSDDS2Service をインスタンス化して返します。 |
void |
deploy()
Axisエンジンを取得し,コンテナに登録されているサービスやハンドラをデプロイします。 |
protected void |
deployWSDD(java.lang.String wsddFileName)
WSDDファイルををファイルシステムまたはクラスパスから読み込み、Axisにデプロイします。 |
protected void |
forEach(org.seasar.framework.container.S2Container container)
コンテナの階層をたどって全てのコンテナとコンポーネント定義を走査します。 |
protected org.w3c.dom.Element[] |
getChildElements(org.w3c.dom.Element parent,
java.lang.String name)
指定されたローカル名を持つ子要素の配列を返します。 |
protected org.w3c.dom.Element |
getServiceElement(java.lang.String wsddFileName)
WSDDファイルをファイルシステムまたはクラスパスから読み込み、 <service> 要素を返します。 |
protected void |
process(org.seasar.framework.container.ComponentDef componentDef)
コンポーネント定義にS2Axisのメタデータ <meta name="s2axis:service">
または <meta name="s2axis:handler">
が指定されていれば、そのコンポーネントをサービスまたはハンドラとしてAxisにデプロイします。 |
protected void |
process(org.seasar.framework.container.S2Container container)
S2コンテナにS2Axisのメタデータ <meta name="s2axis:deploy">
が指定されていれば、そのWSDDをAxisにデプロイします。 |
void |
setContainer(org.seasar.framework.container.S2Container container)
S2コンテナを設定します。 |
void |
setServletContext(javax.servlet.ServletContext servletContext)
サーブレットコンテキストを設定します。 |
protected void |
setupAxis()
Axisにデプロイするためのセットアップを行います。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected org.seasar.framework.container.S2Container container
protected javax.servlet.ServletContext servletContext
protected org.apache.axis.server.AxisServer axisEngine
protected org.apache.axis.WSDDEngineConfiguration configuration
protected org.apache.axis.deployment.wsdd.WSDDDeployment deployment
コンストラクタの詳細 |
public Deployer()
メソッドの詳細 |
public void setContainer(org.seasar.framework.container.S2Container container)
container
- S2コンテナpublic void setServletContext(javax.servlet.ServletContext servletContext)
servletContext
- サーブレットコンテキストpublic void deploy()
protected void setupAxis()
protected void forEach(org.seasar.framework.container.S2Container container)
container
- 起点となるコンテナprotected void process(org.seasar.framework.container.S2Container container)
<meta name="s2axis:deploy">
が指定されていれば、そのWSDDをAxisにデプロイします。
container
- S2コンテナprotected void process(org.seasar.framework.container.ComponentDef componentDef)
<meta name="s2axis:service">
または <meta name="s2axis:handler">
が指定されていれば、そのコンポーネントをサービスまたはハンドラとしてAxisにデプロイします。
componentDef
- コンポーネント定義protected void deployWSDD(java.lang.String wsddFileName)
wsddFileName
- WSDDファイルのパス名public WSDDS2Service createWSDDS2Service(org.seasar.framework.container.ComponentDef componentDef, org.seasar.framework.container.MetaDef metaDef)
WSDDS2Service
をインスタンス化して返します。 ServiceDef
またはWSDDファイルから
WSDDS2Service
をインスタンス化します。
componentDef
- コンポーネント定義metaDef
- メタデータ定義
WSDDS2Service
protected org.w3c.dom.Element getServiceElement(java.lang.String wsddFileName)
<service>
要素を返します。
wsddFileName
- WSDDファイルのパス名
<service>
要素protected org.w3c.dom.Element[] getChildElements(org.w3c.dom.Element parent, java.lang.String name)
parent
- 親要素name
- 子要素のローカル名
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |