public abstract class RemoteAccessor extends RemotingSupport
Note that the service interface being used will show some signs of remotability, like the granularity of method calls that it offers. Furthermore, it has to have serializable arguments etc.
Accessors are supposed to throw Spring's generic
 RemoteAccessException in case
 of remote invocation failure, provided that the service interface
 does not declare java.rmi.RemoteException.
RemoteAccessException, 
RemoteExceptionlogger| Constructor and Description | 
|---|
| RemoteAccessor() | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<?> | getServiceInterface()Return the interface of the service to access. | 
| void | setServiceInterface(Class<?> serviceInterface)Set the interface of the service to access. | 
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoaderpublic void setServiceInterface(Class<?> serviceInterface)
Typically required to be able to create a suitable service proxy, but can also be optional if the lookup returns a typed proxy.
public Class<?> getServiceInterface()