com.googlecode.catchexception.throwable.internal
Interface ProxyFactory

All Known Implementing Classes:
InterfaceOnlyProxyFactory, SubclassProxyFactory

interface ProxyFactory

Creates proxies.

Author:
rwoo

Method Summary
<T> T
createProxy(Class<?> targetClass, io.codearte.catchexception.shade.mockito.cglib.proxy.MethodInterceptor interceptor)
          Create a proxy.
 

Method Detail

createProxy

<T> T createProxy(Class<?> targetClass,
                  io.codearte.catchexception.shade.mockito.cglib.proxy.MethodInterceptor interceptor)
Create a proxy.

Type Parameters:
T - The type parameter makes some casts redundant.
Parameters:
targetClass - the class the factory shall create a proxy for
interceptor - the method interceptor that shall be applied to all method calls.
Returns:
Returns the created proxy.


Copyright © 2015. All rights reserved.