org.softamis.cluster4spring.support
Class RemoteInvocationBasedAccessor
java.lang.Object
org.springframework.remoting.support.RemoteAccessor
org.softamis.cluster4spring.support.RemoteInvocationBasedAccessor
- Direct Known Subclasses:
- RemoteClientInterceptor
public class RemoteInvocationBasedAccessor
- extends org.springframework.remoting.support.RemoteAccessor
Base class for remote service accessors that are based on
serialization of RemoteInvocation objects. Provides a "remoteInvocationFactory"
property, with a DefaultRemoteInvocationFactory as default.
- Since:
- 1.1
- Author:
- Andrew Sazonov
Fields inherited from class org.springframework.remoting.support.RemoteAccessor |
logger |
Method Summary |
org.springframework.remoting.support.RemoteInvocationFactory |
getRemoteInvocationFactory()
Return the RemoteInvocationFactory used by this accessor. |
void |
setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory aRemoteInvocationFactory)
Set the RemoteInvocationFactory to use for this accessor. |
Methods inherited from class org.springframework.remoting.support.RemoteAccessor |
getServiceInterface, setServiceInterface |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fRemoteInvocationFactory
protected org.springframework.remoting.support.RemoteInvocationFactory fRemoteInvocationFactory
RemoteInvocationBasedAccessor
protected RemoteInvocationBasedAccessor()
setRemoteInvocationFactory
public void setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory aRemoteInvocationFactory)
- Set the RemoteInvocationFactory to use for this accessor.
A custom invocation factory can add further context information
to the invocation, for example user credentials.
- Parameters:
aRemoteInvocationFactory
- remote invocation factory
getRemoteInvocationFactory
public org.springframework.remoting.support.RemoteInvocationFactory getRemoteInvocationFactory()
- Return the RemoteInvocationFactory used by this accessor.