org.iqual.chaplin
Class ObjectProxy

java.lang.Object
  extended by org.iqual.chaplin.ObjectProxy
All Implemented Interfaces:
InvocationHandler

public class ObjectProxy
extends Object
implements InvocationHandler

Since:
Jul 21, 2009 8:23:23 PM
Author:
Zbynek Slajchrt

Constructor Summary
ObjectProxy(Object object)
           
 
Method Summary
static
<T> T
createProxy(Class<T> type, Object object)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectProxy

public ObjectProxy(Object object)
Method Detail

createProxy

public static <T> T createProxy(Class<T> type,
                                Object object)

invoke

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


Copyright © 2009 iquality.org. All Rights Reserved.