java.lang.Object | ||
↳ | org.springframework.remoting.support.RemotingSupport | |
↳ | org.springframework.remoting.support.RemoteAccessor |
Known Direct Subclasses |
Known Indirect Subclasses |
Abstract base class for classes that access a remote service. Provides a "serviceInterface" bean property.
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
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.remoting.support.RemotingSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the interface of the service to access.
| |||||||||||
Set the interface of the service to access.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.remoting.support.RemotingSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.BeanClassLoaderAware
|
Set the interface of the service to access. The interface must be suitable for the particular service and remoting strategy.
Typically required to be able to create a suitable service proxy, but can also be optional if the lookup returns a typed proxy.