org.jclouds.rest.internal
Class DelegatesToInvocationFunction<S,F extends com.google.common.base.Function<Invocation,Object>>

java.lang.Object
  extended by org.jclouds.rest.internal.DelegatesToInvocationFunction<S,F>
Type Parameters:
S - The enclosing type of the interface that a dynamic proxy like this implements
F - The function that implements this dynamic proxy
All Implemented Interfaces:
InvocationHandler

@Beta
public final class DelegatesToInvocationFunction<S,F extends com.google.common.base.Function<Invocation,Object>>
extends Object
implements InvocationHandler


Method Summary
protected  Object handle(Invocation invocation)
           
 Object invoke(Object proxy, Method invoked, Object[] argv)
          
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

invoke

public final Object invoke(Object proxy,
                           Method invoked,
                           @Nullable
                           Object[] argv)
                    throws Throwable

Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

handle

protected Object handle(Invocation invocation)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 jclouds. All Rights Reserved.