org.seasar.remoting.axis.connector
クラス AxisConnector

java.lang.Object
  拡張org.seasar.remoting.common.connector.impl.URLBasedConnector
      拡張org.seasar.remoting.common.connector.impl.TargetSpecificURLBasedConnector
          拡張org.seasar.remoting.axis.connector.AxisConnector
すべての実装インタフェース:
org.seasar.remoting.common.connector.Connector

public class AxisConnector
extends org.seasar.remoting.common.connector.impl.TargetSpecificURLBasedConnector

Webサービスを呼び出すS2Remotingコネクタの実装クラスです。

作成者:
koichik

入れ子クラスの概要
 
クラス org.seasar.remoting.common.connector.impl.TargetSpecificURLBasedConnector から継承した入れ子クラス
org.seasar.remoting.common.connector.impl.TargetSpecificURLBasedConnector.LRUMap
 
フィールドの概要
protected  javax.xml.rpc.Service service
           
protected  org.apache.axis.encoding.TypeMappingRegistry tmr
           
 
クラス org.seasar.remoting.common.connector.impl.TargetSpecificURLBasedConnector から継承したフィールド
cachedURLs, DEFAULT_MAX_CACHED_URLS
 
クラス org.seasar.remoting.common.connector.impl.URLBasedConnector から継承したフィールド
baseURL
 
コンストラクタの概要
AxisConnector()
           
 
メソッドの概要
 void addTypeMapping(TypeMappingDef typeMappingDef)
          タイプマッピング定義を追加します。
protected  java.lang.Object invoke(java.net.URL targetURL, java.lang.reflect.Method method, java.lang.Object[] args)
          Axisサービスを使用してリモートメソッドの呼び出しを実行し、その結果を返します。
 void setService(javax.xml.rpc.Service service)
          Axisサービスを設定します。
 void setTimeout(int timeout)
          タイムアウト時間をミリ秒単位で設定します。
 
クラス org.seasar.remoting.common.connector.impl.TargetSpecificURLBasedConnector から継承したメソッド
getTargetURL, invoke, setMaxCachedURLs
 
クラス org.seasar.remoting.common.connector.impl.URLBasedConnector から継承したメソッド
getBaseURL, setBaseURL
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

service

protected javax.xml.rpc.Service service

tmr

protected org.apache.axis.encoding.TypeMappingRegistry tmr
コンストラクタの詳細

AxisConnector

public AxisConnector()
メソッドの詳細

setService

public void setService(javax.xml.rpc.Service service)
Axisサービスを設定します。

パラメータ:
service - Axisサービス

setTimeout

public void setTimeout(int timeout)
タイムアウト時間をミリ秒単位で設定します。

パラメータ:
timeout - タイムアウト時間

addTypeMapping

public void addTypeMapping(TypeMappingDef typeMappingDef)
タイプマッピング定義を追加します。

パラメータ:
typeMappingDef - タイプマッピング定義

invoke

protected java.lang.Object invoke(java.net.URL targetURL,
                                  java.lang.reflect.Method method,
                                  java.lang.Object[] args)
                           throws java.lang.Throwable
Axisサービスを使用してリモートメソッドの呼び出しを実行し、その結果を返します。

パラメータ:
targetURL - リモートオブジェクトのURL
method - 呼び出すメソッド
args - リモートオブジェクトのメソッド呼び出しに渡される引数値を格納するオブジェクト配列
戻り値:
リモートオブジェクトに対するメソッド呼び出しからの戻り値
例外:
java.lang.Throwable - リモートオブジェクトに対するメソッド呼び出しからスローされる例外


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