@DeprecatedSE public interface RmiInvocationHandler extends RemoteSE
これは SPI インターフェースであり、アプリケーションで直接使用することはできません。
修飾子と型 | メソッドと説明 |
---|---|
StringSE | getTargetInterfaceName() 使用すべきではありません。 この呼び出し側が操作するターゲットインターフェースの名前を返します。 |
ObjectSE | invoke(RemoteInvocation invocation) 使用すべきではありません。 指定された呼び出しをターゲットオブジェクトに適用します。 |
@Nullable StringSE getTargetInterfaceName() throws RemoteExceptionSE
null
RemoteExceptionSE
- 通信エラーの場合 RemoteExporter.getServiceInterface()
@Nullable ObjectSE invoke(RemoteInvocation invocation) throws RemoteExceptionSE, NoSuchMethodExceptionSE, IllegalAccessExceptionSE, InvocationTargetExceptionSE
RmiClientInterceptor.doInvoke(org.aopalliance.intercept.MethodInvocation, RmiInvocationHandler)
によって呼び出されます。
invocation
- 呼び出しパラメーターをカプセル化するオブジェクト RemoteExceptionSE
- 通信エラーの場合 NoSuchMethodExceptionSE
- メソッド名を解決できなかった場合 IllegalAccessExceptionSE
- メソッドにアクセスできなかった場合 InvocationTargetExceptionSE
- メソッド呼び出しにより例外が発生した場合