org.softamis.cluster4spring.support
Class RemoteInvocationBasedAccessor

java.lang.Object
  extended by org.springframework.remoting.support.RemoteAccessor
      extended by 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

Field Summary
protected  org.springframework.remoting.support.RemoteInvocationFactory fRemoteInvocationFactory
           
 
Fields inherited from class org.springframework.remoting.support.RemoteAccessor
logger
 
Constructor Summary
protected RemoteInvocationBasedAccessor()
           
 
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
 

Field Detail

fRemoteInvocationFactory

protected org.springframework.remoting.support.RemoteInvocationFactory fRemoteInvocationFactory
Constructor Detail

RemoteInvocationBasedAccessor

protected RemoteInvocationBasedAccessor()
Method Detail

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.