| Package | Description |
|---|---|
| org.apache.commons.proxy |
This package contains the primary API.
|
| org.apache.commons.proxy.factory.cglib |
This package contains the CGLIB-based
ProxyFactory implementation.
|
| org.apache.commons.proxy.factory.javassist |
This package contains the Javassist-based
ProxyFactory implementation.
|
| org.apache.commons.proxy.interceptor |
This package contains some useful Interceptor implementations.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ProxyFactory.createInterceptorProxy(ClassLoader classLoader,
Object target,
Interceptor interceptor,
Class[] proxyClasses)
Creates a proxy which passes through a
interceptor before eventually reaching the
target object. |
Object |
ProxyFactory.createInterceptorProxy(Object target,
Interceptor interceptor,
Class[] proxyClasses)
Creates a proxy which passes through a
interceptor before eventually reaching the
target object. |
| Modifier and Type | Method and Description |
|---|---|
Object |
CglibProxyFactory.createInterceptorProxy(ClassLoader classLoader,
Object target,
Interceptor interceptor,
Class[] proxyClasses) |
| Modifier and Type | Method and Description |
|---|---|
Object |
JavassistProxyFactory.createInterceptorProxy(ClassLoader classLoader,
Object target,
Interceptor interceptor,
Class[] proxyClasses) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExecutorInterceptor
A method interceptor that uses an
Executor to execute the method invocation. |
class |
FilteredInterceptor
Decorates another
MethodInterceptor by only calling it if the method is accepted by the supplied
MethodFilter. |
class |
LoggingInterceptor
An interceptor which logs each method invocation.
|
class |
MethodInterceptorAdapter
An adapter class to adapt AOP Alliance's
MethodInterceptor interface to Commons Proxy's
Interceptor interface. |
class |
SerializingInterceptor
An interceptor which makes a serialized copy of all parameters and return values.
|
| Constructor and Description |
|---|
FilteredInterceptor(Interceptor inner,
MethodFilter filter) |
InterceptorChain(Interceptor[] interceptors) |
Copyright © 2005-2013 Apache Software Foundation. All Rights Reserved.