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
|Constructor and Description|
|Modifier and Type||Method and Description|
Return the interface of the service to access.
Set the interface of the service to access.
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
public void setServiceInterface(java.lang.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 java.lang.Class<?> getServiceInterface()