Save This Page
Home » spring-framework-2.5.4 » org.springframework » remoting » caucho » [javadoc | source]
org.springframework.remoting.caucho
public class: CauchoRemoteAccessor [javadoc | source]
java.lang.Object
   org.springframework.remoting.support.RemotingSupport
      org.springframework.remoting.support.RemoteAccessor
         org.springframework.remoting.support.UrlBasedRemoteAccessor
            org.springframework.remoting.caucho.CauchoRemoteAccessor

All Implemented Interfaces:
    InitializingBean, BeanClassLoaderAware

Common base class for Hessian/Burlap accessors (HessianClientInterceptor and BurlapClientInterceptor), factoring out common properties.
Fields inherited from org.springframework.remoting.support.RemotingSupport:
logger
Method from org.springframework.remoting.caucho.CauchoRemoteAccessor Summary:
afterPropertiesSet,   getPassword,   getUsername,   isOverloadEnabled,   prepare,   setOverloadEnabled,   setPassword,   setUsername
Methods from org.springframework.remoting.support.UrlBasedRemoteAccessor:
afterPropertiesSet,   getServiceUrl,   setServiceUrl
Methods from org.springframework.remoting.support.RemoteAccessor:
getServiceInterface,   setServiceInterface
Methods from org.springframework.remoting.support.RemotingSupport:
getBeanClassLoader,   overrideThreadContextClassLoader,   resetThreadContextClassLoader,   setBeanClassLoader
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.remoting.caucho.CauchoRemoteAccessor Detail:
 public  void afterPropertiesSet() throws MalformedURLException 
 public String getPassword() 
 public String getUsername() 
 public boolean isOverloadEnabled() 
 public  void prepare() throws MalformedURLException 
    Initialize the underlying Hessian/Burlap proxy for this accessor.

    This implementation just checks whether "serviceInterface" and "serviceUrl" have been specified. Concrete initialization is added in HessianClientInterceptor and BurlapClientInterceptor.

 public  void setOverloadEnabled(boolean overloadEnabled) 
    Set whether overloaded methods should be enabled for remote invocations. Default is false.
 public  void setPassword(String password) 
    Set the password that this factory should use to access the remote service. Default is none.

    The password will be sent by Hessian/Burlap via HTTP Basic Authentication.

 public  void setUsername(String username) 
    Set the username that this factory should use to access the remote service. Default is none.

    The username will be sent by Hessian/Burlap via HTTP Basic Authentication.