com.caucho.remote.hessian
Class HessianProtocolProxyFactory

java.lang.Object
  extended by com.caucho.remote.client.AbstractProtocolProxyFactory
      extended by com.caucho.remote.hessian.HessianProtocolProxyFactory
All Implemented Interfaces:
ProtocolProxyFactory

public class HessianProtocolProxyFactory
extends AbstractProtocolProxyFactory

Hessian factory for creating remote-client proxies


Constructor Summary
HessianProtocolProxyFactory()
           
 
Method Summary
<T> T
createProxy(java.lang.Class<T> api)
          Creates a new proxy based on an API
 void setPassword(java.lang.String password)
           
 void setProxyType(java.lang.annotation.Annotation ann)
          Sets the ProxyType annotation
 void setURL(java.lang.String url)
          Sets the proxy URL.
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class com.caucho.remote.client.AbstractProtocolProxyFactory
setAnnotated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HessianProtocolProxyFactory

public HessianProtocolProxyFactory()
Method Detail

setURL

public void setURL(java.lang.String url)
Sets the proxy URL.


setUserName

public void setUserName(java.lang.String userName)

setPassword

public void setPassword(java.lang.String password)

setProxyType

public void setProxyType(java.lang.annotation.Annotation ann)
Description copied from class: AbstractProtocolProxyFactory
Sets the ProxyType annotation

Specified by:
setProxyType in interface ProtocolProxyFactory
Overrides:
setProxyType in class AbstractProtocolProxyFactory

createProxy

public <T> T createProxy(java.lang.Class<T> api)
Creates a new proxy based on an API

Specified by:
createProxy in interface ProtocolProxyFactory
Specified by:
createProxy in class AbstractProtocolProxyFactory
Parameters:
api - the api exposed to the client