spring-context

org.springframework.remoting.support
Class UrlBasedRemoteAccessor

java.lang.Object
  extended by org.springframework.remoting.support.RemotingSupport
      extended by org.springframework.remoting.support.RemoteAccessor
          extended by org.springframework.remoting.support.UrlBasedRemoteAccessor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
RemoteInvocationBasedAccessor

public abstract class UrlBasedRemoteAccessor
extends RemoteAccessor
implements org.springframework.beans.factory.InitializingBean

Abstract base class for classes that access remote services via URLs. Provides a "serviceUrl" bean property, which is considered as required.

Since:
15.12.2003
Author:
Juergen Hoeller

Field Summary
 
Fields inherited from class org.springframework.remoting.support.RemotingSupport
logger
 
Constructor Summary
UrlBasedRemoteAccessor()
           
 
Method Summary
 void afterPropertiesSet()
           
 java.lang.String getServiceUrl()
          Return the URL of this remote accessor's target service.
 void setServiceUrl(java.lang.String serviceUrl)
          Set the URL of this remote accessor's target service.
 
Methods inherited from class org.springframework.remoting.support.RemoteAccessor
getServiceInterface, setServiceInterface
 
Methods inherited from class org.springframework.remoting.support.RemotingSupport
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlBasedRemoteAccessor

public UrlBasedRemoteAccessor()
Method Detail

setServiceUrl

public void setServiceUrl(java.lang.String serviceUrl)
Set the URL of this remote accessor's target service. The URL must be compatible with the rules of the particular remoting provider.


getServiceUrl

public java.lang.String getServiceUrl()
Return the URL of this remote accessor's target service.


afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean

spring-context