jlibs.core.lang.reflect
Class TeeProxy

java.lang.Object
  extended by jlibs.core.lang.reflect.TeeProxy
All Implemented Interfaces:
InvocationHandler

public class TeeProxy
extends Object
implements InvocationHandler

Author:
Santhosh Kumar T

Constructor Summary
TeeProxy(Object... delegates)
           
 
Method Summary
static
<T> T
create(Class<T> interfase, Object... delegates)
           
 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

TeeProxy

public TeeProxy(Object... delegates)
Method Detail

invoke

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

create

public static <T> T create(Class<T> interfase,
                           Object... delegates)


Copyright © 2018. All rights reserved.