org.seasar.remoting.rmi.connector
クラス RMIConnector
java.lang.Object
org.seasar.remoting.common.connector.impl.URLBasedConnector
org.seasar.remoting.rmi.connector.RMIConnector
- すべての実装インタフェース:
- org.seasar.remoting.common.connector.Connector
- public class RMIConnector
- extends org.seasar.remoting.common.connector.impl.URLBasedConnector
RMIを使用してリモートメソッドの呼び出しを行うコネクタの実装クラス.
- 作成者:
- Kenichiro Murata
クラス org.seasar.remoting.common.connector.impl.URLBasedConnector から継承したフィールド |
baseURL |
メソッドの概要 |
java.lang.Object |
invoke(java.lang.String componentName,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
void |
lookup()
diconファイルで設定されたbaseURLプロパティを使用して、
RMIレジストリからRMIAdaptorのスタブクラスを取得します. |
クラス org.seasar.remoting.common.connector.impl.URLBasedConnector から継承したメソッド |
getBaseURL, setBaseURL |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMIConnector
public RMIConnector()
- コンストラクタ.
invoke
public java.lang.Object invoke(java.lang.String componentName,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.rmi.RemoteException,
java.lang.Exception
- 例外:
java.rmi.RemoteException
java.lang.Exception
- 関連項目:
Connector.invoke(java.lang.String,
java.lang.reflect.Method, java.lang.Object[])
lookup
public void lookup()
throws java.rmi.RemoteException,
java.net.MalformedURLException,
java.rmi.NotBoundException
- diconファイルで設定されたbaseURLプロパティを使用して、
RMIレジストリからRMIAdaptorのスタブクラスを取得します.
- 例外:
java.rmi.RemoteException
- レジストリへの問い合わせ時にスローされるRMIの例外
java.net.MalformedURLException
- baseURLがrmiプロトコルではない場合の例外
java.rmi.NotBoundException
- RMIレジストリにRMIAdaptorが未登録の場合の例外
Copyright © 2004-2005 The Seasar Project. All Rights Reserved.