| 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.invoker |
This package contains some useful Invoker implementations.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ProxyFactory.createInvokerProxy(ClassLoader classLoader,
Invoker invoker,
Class[] proxyClasses)
Creates a proxy which uses the provided
Invoker to handle all method invocations. |
Object |
ProxyFactory.createInvokerProxy(Invoker invoker,
Class[] proxyClasses)
Creates a proxy which uses the provided
Invoker to handle all method invocations. |
| Modifier and Type | Method and Description |
|---|---|
Object |
CglibProxyFactory.createInvokerProxy(ClassLoader classLoader,
Invoker invoker,
Class[] proxyClasses) |
| Modifier and Type | Method and Description |
|---|---|
Object |
JavassistProxyFactory.createInvokerProxy(ClassLoader classLoader,
Invoker invoker,
Class[] proxyClasses) |
| Modifier and Type | Class and Description |
|---|---|
class |
DuckTypingInvoker
An invoker which supports "duck typing", meaning
that it finds a matching method on the object returned from the target provider and invokes it.
|
class |
InvocationHandlerAdapter
An adapter class to adapt the JDK's
InvocationHandler interface to Commons Proxy's
Invoker interface. |
class |
NullInvoker
An
Invoker implementation which merely returns null for all method invocations. |
class |
XmlRpcInvoker
Uses Apache XML-RPC to invoke methods on an XML-RPC service.
|
Copyright © 2005-2013 Apache Software Foundation. All Rights Reserved.