com.caucho.burlap.client
Class BurlapProxy

java.lang.Object
  extended by com.caucho.burlap.client.BurlapProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

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

Proxy implementation for Burlap clients. Applications will generally use BurlapProxyFactory to create proxy clients.


Field Summary
private  BurlapProxyFactory _factory
           
private  java.net.URL _url
           
private static java.util.logging.Logger log
           
 
Constructor Summary
BurlapProxy(BurlapProxyFactory factory, java.net.URL url)
           
 
Method Summary
 java.net.URL getURL()
          Returns the proxy's URL.
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
          Handles the object invocation.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

private static final java.util.logging.Logger log

_factory

private BurlapProxyFactory _factory

_url

private java.net.URL _url
Constructor Detail

BurlapProxy

BurlapProxy(BurlapProxyFactory factory,
            java.net.URL url)
Method Detail

getURL

public java.net.URL getURL()
Returns the proxy's URL.


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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2003-2011. All Rights Reserved.