org.springframework.remoting.support
Class RemoteAccessor
java.lang.Object
org.springframework.remoting.support.RemoteAccessor
- Direct Known Subclasses:
- UrlBasedRemoteAccessor
- public abstract class RemoteAccessor
- extends java.lang.Object
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 require serializable arguments etc.
- Since:
- 13.05.2003
- Author:
- Juergen Hoeller
- See Also:
RemoteAccessException
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
Method Summary |
protected java.lang.Class |
getServiceInterface()
Return the interface of the service to access. |
void |
setServiceInterface(java.lang.Class serviceInterface)
Set the interface of the service to access. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
RemoteAccessor
public RemoteAccessor()
setServiceInterface
public void setServiceInterface(java.lang.Class serviceInterface)
- Set the interface of the service to access.
Typically required to be able to create a suitable serviuce proxy.
The interface must be suitable for the particular service and remoting tool.
getServiceInterface
protected java.lang.Class getServiceInterface()
- Return the interface of the service to access.
Copyright (C) 2003-2004 The Spring Framework Project.