类 UrlBasedRemoteAccessor
- java.lang.Object
- org.springframework.remoting.support.RemotingSupport
- org.springframework.remoting.support.RemoteAccessor
- org.springframework.remoting.support.UrlBasedRemoteAccessor
- 所有已实现的接口:
Aware
,BeanClassLoaderAware
,InitializingBean
public abstract class UrlBasedRemoteAccessor extends RemoteAccessor implements InitializingBean
Abstract base class for classes that access remote services via URLs. Provides a "serviceUrl" bean property, which is considered as required.- 从以下版本开始:
- 15.12.2003
- 作者:
- Juergen Hoeller
字段概要
从类继承的字段 org.springframework.remoting.support.RemotingSupport
logger
构造器概要
构造器 构造器 说明 UrlBasedRemoteAccessor()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
afterPropertiesSet()
Invoked by the containingBeanFactory
after it has set all bean properties and satisfiedBeanFactoryAware
,ApplicationContextAware
etc.String
getServiceUrl()
Return the URL of this remote accessor's target service.void
setServiceUrl(String serviceUrl)
Set the URL of this remote accessor's target service.从类继承的方法 org.springframework.remoting.support.RemoteAccessor
getServiceInterface, setServiceInterface
从类继承的方法 org.springframework.remoting.support.RemotingSupport
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
构造器详细资料
UrlBasedRemoteAccessor
public UrlBasedRemoteAccessor()
方法详细资料
setServiceUrl
public void setServiceUrl(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 String getServiceUrl()
Return the URL of this remote accessor's target service.
afterPropertiesSet
public void afterPropertiesSet()
从接口复制的说明:InitializingBean
Invoked by the containingBeanFactory
after it has set all bean properties and satisfiedBeanFactoryAware
,ApplicationContextAware
etc.This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set.
- 指定者:
afterPropertiesSet
在接口中InitializingBean