Package | Description |
---|---|
org.apache.commons.proxy2 | |
org.apache.commons.proxy2.asm | |
org.apache.commons.proxy2.cglib | |
org.apache.commons.proxy2.impl | |
org.apache.commons.proxy2.invoker.recorder | |
org.apache.commons.proxy2.javassist | |
org.apache.commons.proxy2.jdk | |
org.apache.commons.proxy2.stub |
Contains mechanisms for stubbing behavior on
ProxyFactory -generated proxy objects. |
Modifier and Type | Method and Description |
---|---|
static ProxyFactory |
ProxyUtils.proxyFactory()
Get a
ProxyFactory that delegates to discoverable ProxyFactory service providers. |
Modifier and Type | Class and Description |
---|---|
class |
ASMProxyFactory |
Modifier and Type | Class and Description |
---|---|
class |
CglibProxyFactory
Cglib-based
ProxyFactory implementation. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractProxyFactory
Base abstract
ProxyFactory implementation, primarily providing implementations of the interface methods that
are typically convenience constructs over the other methods. |
class |
AbstractSubclassingProxyFactory
Parent
AbstractProxyFactory for implementations that permit the generation of proxies with a specific
inheritance hierarchy. |
Constructor and Description |
---|
InvocationRecorder(ProxyFactory proxyFactory)
Create a new InvocationRecorder instance.
|
Modifier and Type | Class and Description |
---|---|
class |
JavassistProxyFactory |
Modifier and Type | Class and Description |
---|---|
class |
JdkProxyFactory
ProxyFactory implementation that uses Proxy proxies. |
Constructor and Description |
---|
StubBuilder(ProxyFactory proxyFactory,
Class<T> type) |
StubBuilder(ProxyFactory proxyFactory,
Class<T> type,
Invoker invoker) |
StubBuilder(ProxyFactory proxyFactory,
Class<T> type,
ObjectProvider<? extends T> provider) |
StubBuilder(ProxyFactory proxyFactory,
Class<T> type,
T target) |
StubInterceptorBuilder(ProxyFactory proxyFactory) |
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.