com.lexicalscope.fluentreflection.dynamicproxy
Class Implementing<T>

java.lang.Object
  extended by com.lexicalscope.fluentreflection.dynamicproxy.Implementing<T>
All Implemented Interfaces:
ProxyImplementation<T>, InvocationHandler

public abstract class Implementing<T>
extends Object
implements ProxyImplementation<T>


Constructor Summary
Implementing()
           
Implementing(Class<?> klass)
           
Implementing(FluentClass<?> klass)
           
 
Method Summary
 Object[] args()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 void matchingSignature(QueryMethod queryMethod)
           
 FluentMethod method()
           
 String methodName()
           
 Class<?> proxiedInterface()
           
 Object proxy()
           
 void returnValue(Object value)
           
 MethodBinding<T> whenProxying(org.hamcrest.Matcher<? super FluentMethod> methodMatcher)
           
 void whenProxyingUnmatched()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Implementing

public Implementing()

Implementing

public Implementing(Class<?> klass)

Implementing

public Implementing(FluentClass<?> klass)
Method Detail

invoke

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

proxiedInterface

public final Class<?> proxiedInterface()
Specified by:
proxiedInterface in interface ProxyImplementation<T>

whenProxying

public final MethodBinding<T> whenProxying(org.hamcrest.Matcher<? super FluentMethod> methodMatcher)

whenProxyingUnmatched

public final void whenProxyingUnmatched()

matchingSignature

public final void matchingSignature(QueryMethod queryMethod)

methodName

public final String methodName()

method

public final FluentMethod method()

returnValue

public final void returnValue(Object value)

args

public final Object[] args()

proxy

public final Object proxy()


Copyright © 2011-2012 lexicalscope. All Rights Reserved.