org.seasar.remoting.axis.deployer
クラス ServiceDeployer

java.lang.Object
  拡張org.seasar.remoting.axis.deployer.ServiceDeployer
すべての実装インタフェース:
ItemDeployer

public class ServiceDeployer
extends java.lang.Object
implements ItemDeployer

diconファイル中に記述されたコンポーネントをサービスとしてAxisにデプロイします。

作成者:
koichik

フィールドの概要
protected  AxisDeployer deployer
           
 
コンストラクタの概要
ServiceDeployer(AxisDeployer deployer)
          インスタンスを構築します。
 
メソッドの概要
protected  WSDDS2Service createWSDDS2Service(org.seasar.framework.container.ComponentDef componentDef, org.seasar.framework.container.MetaDef metaDef)
          WSDDS2Service をインスタンス化して返します。
 void deploy(org.seasar.framework.container.ComponentDef componentDef, org.seasar.framework.container.MetaDef metaDef)
          コンポーネントをサービスとしてデプロイします。
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> 要素を返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

deployer

protected final AxisDeployer deployer
コンストラクタの詳細

ServiceDeployer

public ServiceDeployer(AxisDeployer deployer)
インスタンスを構築します。

パラメータ:
deployer - デプロイヤー
メソッドの詳細

deploy

public void deploy(org.seasar.framework.container.ComponentDef componentDef,
                   org.seasar.framework.container.MetaDef metaDef)
コンポーネントをサービスとしてデプロイします。

定義:
インタフェース ItemDeployer 内の deploy
パラメータ:
componentDef - コンポーネント定義
metaDef - メタ定義

createWSDDS2Service

protected WSDDS2Service createWSDDS2Service(org.seasar.framework.container.ComponentDef componentDef,
                                            org.seasar.framework.container.MetaDef metaDef)
WSDDS2Service をインスタンス化して返します。
メタデータの指定に従い、 ServiceDef またはWSDDファイルから WSDDS2Service をインスタンス化します。

パラメータ:
componentDef - コンポーネント定義
metaDef - メタデータ定義
戻り値:
WSDDS2Service

getServiceElement

protected org.w3c.dom.Element getServiceElement(java.lang.String wsddFileName)
WSDDファイルをクラスパスから読み込み、 <service> 要素を返します。

パラメータ:
wsddFileName - WSDDファイルのパス名
戻り値:
<service> 要素

getChildElements

protected org.w3c.dom.Element[] getChildElements(org.w3c.dom.Element parent,
                                                 java.lang.String name)
指定されたローカル名を持つ子要素の配列を返します。

パラメータ:
parent - 親要素
name - 子要素のローカル名
戻り値:
指定されたローカル名を持つ子要素の配列。該当する子要素が存在しない場合は空の配列。


Copyright © 2005-2006 The Seasar Foundation. All Rights Reserved.