com.caucho.server.admin
Class HessianHmuxProxy

java.lang.Object
  extended by com.caucho.server.admin.HessianHmuxProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class HessianHmuxProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Proxy implementation for Hessian clients. Applications will generally use HessianProxyFactory to create proxy clients.


Method Summary
static
<X> X
create(Path url, java.lang.Class<X> api)
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
          Handles the object invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <X> X create(Path url,
                           java.lang.Class<X> api)

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Handles the object invocation.

Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Parameters:
proxy - the proxy object to invoke
method - the method to call
args - the arguments to the proxy object
Throws:
java.lang.Throwable