com.interface21.remoting.caucho
Class HessianProxyFactoryBean

java.lang.Object
  |
  +--com.interface21.remoting.support.RemoteProxyFactoryBean
        |
        +--com.interface21.remoting.support.AuthorizableRemoteProxyFactoryBean
              |
              +--com.interface21.remoting.caucho.HessianProxyFactoryBean
All Implemented Interfaces:
FactoryBean, InitializingBean

public class HessianProxyFactoryBean
extends AuthorizableRemoteProxyFactoryBean

Factory bean for Hessian proxies. Behaves like the proxied service when used as bean reference, exposing the specified service interface. The service URL must be an HTTP URL exposing a Hessian service. Supports authentication via username and password.

Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website

Note: Hessian services accessed with this proxy factory do not have to be exported via HessianServiceExporter, as there isn't any special handling involved.

Since:
13.05.2003
Author:
Juergen Hoeller
See Also:
HessianServiceExporter

Constructor Summary
HessianProxyFactoryBean()
           
 
Method Summary
protected  java.lang.Object createProxy()
          Create the proxy instance.
 
Methods inherited from class com.interface21.remoting.support.AuthorizableRemoteProxyFactoryBean
getPassword, getUsername, setPassword, setUsername
 
Methods inherited from class com.interface21.remoting.support.RemoteProxyFactoryBean
afterPropertiesSet, getObject, getPropertyValues, getServiceInterface, getServiceUrl, isSingleton, setServiceInterface, setServiceUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HessianProxyFactoryBean

public HessianProxyFactoryBean()
Method Detail

createProxy

protected java.lang.Object createProxy()
                                throws java.net.MalformedURLException
Description copied from class: RemoteProxyFactoryBean
Create the proxy instance. Can use the properties of this factory, although the actually used settings will vary. For example, certain protocols do not support authentication.
Overrides:
createProxy in class RemoteProxyFactoryBean
Following copied from class: com.interface21.remoting.support.RemoteProxyFactoryBean
Returns:
the new proxy instance


Rod Johnson and Spring contributors 2001-2003.