public interface RemoteInvocationFactory
MethodInvocation
から RemoteInvocation
を作成するための戦略インターフェース。RmiClientInterceptor
(RMI 呼び出しの場合)および HttpInvokerClientInterceptor
によって使用されます。
DefaultRemoteInvocationFactory
, RemoteInvocationBasedAccessor.setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory)
, RemoteInvocationBasedAccessor.setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory)
修飾子と型 | メソッドと説明 |
---|---|
RemoteInvocation | createRemoteInvocation(MethodInvocation methodInvocation) 指定された AOP MethodInvocation から直列化可能な RemoteInvocation オブジェクトを作成します。 |
RemoteInvocation createRemoteInvocation(MethodInvocation methodInvocation)
ユーザークレデンシャルなどのカスタムコンテキスト情報をリモート呼び出しに追加するために実装できます。
methodInvocation
- 元の AOP MethodInvocation オブジェクト