org.caleigo.toolkit.tunnel
Class DynamicRemoteProxy

java.lang.Object
  extended byorg.caleigo.toolkit.tunnel.DynamicRemoteProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler, java.io.Serializable

public class DynamicRemoteProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, java.io.Serializable

Version:
1.00
Author:
Mattias Hagstrand
See Also:
Serialized Form

Nested Class Summary
protected static class DynamicRemoteProxy.DefaultProxyCleanUpMessage
           
protected static class DynamicRemoteProxy.DefaultProxyExceptionMessage
           
protected static class DynamicRemoteProxy.DefaultProxyInvocationMessage
           
protected static class DynamicRemoteProxy.DefaultProxyReturnMessage
           
(package private) static interface DynamicRemoteProxy.IProxyCleanUpMessage
           
(package private) static interface DynamicRemoteProxy.IProxyExceptionMessage
           
(package private) static interface DynamicRemoteProxy.IProxyInvocationMessage
           
(package private) static interface DynamicRemoteProxy.IProxyReturnMessage
           
 
Field Summary
protected  java.util.List mArgumentProxies
           
protected  int mID
           
protected  java.lang.String[] mInterfaceClasses
           
protected  boolean mIsLocalProxy
           
protected  ProxyHandler mProxyHandler
           
 
Constructor Summary
(package private) DynamicRemoteProxy(int id, ProxyHandler proxyHandler, java.lang.Class[] interfaceClasses)
           
 
Method Summary
protected  void finalize()
           
 int getID()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 void setProxyHandler(ProxyHandler proxyHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mID

protected int mID

mProxyHandler

protected transient ProxyHandler mProxyHandler

mIsLocalProxy

protected transient boolean mIsLocalProxy

mArgumentProxies

protected java.util.List mArgumentProxies

mInterfaceClasses

protected java.lang.String[] mInterfaceClasses
Constructor Detail

DynamicRemoteProxy

DynamicRemoteProxy(int id,
                   ProxyHandler proxyHandler,
                   java.lang.Class[] interfaceClasses)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

finalize

protected void finalize()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable

setProxyHandler

public void setProxyHandler(ProxyHandler proxyHandler)

getID

public int getID()


Copyright © 2005 Caleigo. All Rights Reserved.