public class DefaultRemoteInvocationFactory extends java.lang.Object implements RemoteInvocationFactory
RemoteInvocationFactory
interface.
Simply creates a new standard RemoteInvocation
object.Constructor and Description |
---|
DefaultRemoteInvocationFactory() |
Modifier and Type | Method and Description |
---|---|
RemoteInvocation |
createRemoteInvocation(MethodInvocation methodInvocation)
Create a serializable RemoteInvocation object from the given AOP
MethodInvocation.
|
public RemoteInvocation createRemoteInvocation(MethodInvocation methodInvocation)
RemoteInvocationFactory
Can be implemented to add custom context information to the remote invocation, for example user credentials.
createRemoteInvocation
in interface RemoteInvocationFactory
methodInvocation
- the original AOP MethodInvocation object