- java.lang.Object
-
- javax.management.remote.rmi.RMIServerImpl
-
- javax.management.remote.rmi.RMIIIOPServerImpl
-
- すべての実装されたインタフェース:
Closeable
,AutoCloseable
,Remote
,RMIServer
非推奨。このトランスポートはサポートされなくなりました。
@Deprecated public class RMIIIOPServerImpl extends RMIServerImpl
IIOP経由でエクスポートされる
RMIServerImpl
であり、IIOP経由でエクスポートされたRMIオブジェクトとしてクライアント接続を作成します。 ユーザー・コードは、必ずしもこのクラスを直接参照しません。- 導入されたバージョン:
- 1.5
- 関連項目:
RMIServerImpl
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 RMIIIOPServerImpl(Map<String,?> env)
非推奨。
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 非推奨のメソッド 修飾子と型 メソッド 説明 protected void
closeClient(RMIConnection client)
非推奨。makeClient
で作成されたクライアント接続を終了します。protected void
closeServer()
非推奨。RMIServerImpl.close()
によって呼び出され、コネクタ・サーバーを終了します。protected void
export()
非推奨。このRMIオブジェクトをエクスポートします。protected String
getProtocol()
非推奨。このオブジェクトのプロトコル文字列を返します。protected RMIConnection
makeClient(String connectionId, Subject subject)
非推奨。新しいクライアント接続を作成します。Remote
toStub()
非推奨。このサーバー・オブジェクトのリモート処理可能なスタブを返します。-
クラス java.lang.Objectから継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
クラス javax.management.remote.rmi.RMIServerImplから継承されたメソッド
clientClosed, close, getDefaultClassLoader, getMBeanServer, getVersion, newClient, setDefaultClassLoader, setMBeanServer
-
-
-
-
コンストラクタの詳細
-
RMIIIOPServerImpl
public RMIIIOPServerImpl(Map<String,?> env) throws IOException
非推奨。- パラメータ:
env
- 新しいRMIServerImpl
の属性を含む環境。 nullも可、その場合は空マップと同等。- 例外:
IOException
- RMIオブジェクトを作成できない場合。
-
-
メソッドの詳細
-
export
protected void export() throws IOException
非推奨。次のクラスからコピーされた説明:RMIServerImpl
このRMIオブジェクトをエクスポートします。
- 定義:
export
、クラス:RMIServerImpl
- 例外:
IOException
- このRMIオブジェクトをエクスポートできない場合。
-
getProtocol
protected String getProtocol()
非推奨。次のクラスからコピーされた説明:RMIServerImpl
このオブジェクトのプロトコル文字列を返します。 文字列はRMI/JRMPの場合は
rmi
です。- 定義:
getProtocol
、クラス:RMIServerImpl
- 戻り値:
- このオブジェクトのプロトコル文字列。
-
toStub
public Remote toStub() throws IOException
非推奨。次のクラスからコピーされた説明:RMIServerImpl
このサーバー・オブジェクトのリモート処理可能なスタブを返します。- 定義:
toStub
、クラス:RMIServerImpl
- 戻り値:
- リモート処理可能なスタブ。
- 例外:
IOException
- スタブを取得できない場合。たとえば、RMIServerImplがまだエクスポートされていない場合など。
-
makeClient
protected RMIConnection makeClient(String connectionId, Subject subject) throws IOException
非推奨。次のクラスからコピーされた説明:RMIServerImpl
新しいクライアント接続を作成します。 このメソッドはパブリック・メソッド
RMIServerImpl.newClient(Object)
によって呼び出されます。- 定義:
makeClient
、クラス:RMIServerImpl
- パラメータ:
connectionId
- 新しい接続のID。 このコネクタ・サーバーによって開かれたすべての接続は、それぞれ異なるIDを持つ。 このパラメータがnullの場合の動作は不定。subject
- 認証済みのサブジェクト。 nullも可。- 戻り値:
- 新しく生成された
RMIConnection
。 - 例外:
IOException
- 新しいクライアント・オブジェクトを作成またはエクスポートできない場合。
-
closeClient
protected void closeClient(RMIConnection client) throws IOException
非推奨。次のクラスからコピーされた説明:RMIServerImpl
makeClient
で作成されたクライアント接続を終了します。- 定義:
closeClient
、クラス:RMIServerImpl
- パラメータ:
client
- 以前にmakeClient
によって返された、closeClient
メソッドがまだ1回も呼び出されていない接続。client
がnullの場合を含めて、何らかの条件違反があった場合、動作は不定になる。- 例外:
IOException
- クライアント接続を終了できない場合。
-
closeServer
protected void closeServer() throws IOException
非推奨。次のクラスからコピーされた説明:RMIServerImpl
RMIServerImpl.close()
によって呼び出され、コネクタ・サーバーを終了します。 このメソッドの終了後、コネクタ・サーバーは新しい接続を一切受け付けなくなります。- 定義:
closeServer
、クラス:RMIServerImpl
- 例外:
IOException
- コネクタ・サーバーの終了に失敗した場合。
-
-