| 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.
|
| org.apache.commons.proxy.invoker |
This package contains some useful Invoker implementations.
|
| org.apache.commons.proxy.provider |
This package contains some general-use ObjectProvider implementations.
|
| org.apache.commons.proxy.provider.remoting |
This package contains some useful ObjectProvider implementations for use
in remoting situations (EJB, RMI, Burlap, Hessian, JAX-RPC, etc).
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ProxyFactory.createDelegatorProxy(ClassLoader classLoader,
ObjectProvider delegateProvider,
Class[] proxyClasses)
Creates a proxy which delegates to the object provided by
delegateProvider. |
Object |
ProxyFactory.createDelegatorProxy(ObjectProvider delegateProvider,
Class[] proxyClasses)
Creates a proxy which delegates to the object provided by
delegateProvider. |
| Modifier and Type | Method and Description |
|---|---|
Object |
CglibProxyFactory.createDelegatorProxy(ClassLoader classLoader,
ObjectProvider targetProvider,
Class[] proxyClasses) |
| Modifier and Type | Method and Description |
|---|---|
Object |
JavassistProxyFactory.createDelegatorProxy(ClassLoader classLoader,
ObjectProvider targetProvider,
Class[] proxyClasses) |
| Modifier and Type | Method and Description |
|---|---|
ObjectProvider |
InterceptorChain.createProxyProvider(ProxyFactory proxyFactory,
ClassLoader classLoader,
Object terminus,
Class[] proxyClasses)
Creates an
ObjectProvider which will return a proxy that sends method invocations through this
chain of interceptors and ultimately arrive at the supplied terminus object. |
ObjectProvider |
InterceptorChain.createProxyProvider(ProxyFactory proxyFactory,
Object terminus)
Creates an
ObjectProvider which will return a proxy that sends method invocations through this
chain of interceptors and ultimately arrive at the supplied terminus object. |
ObjectProvider |
InterceptorChain.createProxyProvider(ProxyFactory proxyFactory,
Object terminus,
Class[] proxyClasses)
Creates an
ObjectProvider which will return a proxy that sends method invocations through this
chain of interceptors and ultimately arrive at the supplied terminus object. |
| Constructor and Description |
|---|
DuckTypingInvoker(ObjectProvider targetProvider) |
| Modifier and Type | Class and Description |
|---|---|
class |
BeanProvider
Uses
Class.newInstance() to instantiate an object. |
class |
CloningProvider
Merely calls
clone() (reflectively) on the given Cloneable object. |
class |
ConstantProvider
Always returns the same object.
|
class |
NullProvider
Always returns null.
|
class |
ProviderDecorator
Returns the result of the inner
provider. |
class |
SingletonProvider
Wraps another object provider, making sure to only call it once, returning the value returned from the wrapped
provider on all subsequent invocations.
|
| Modifier and Type | Field and Description |
|---|---|
protected ObjectProvider |
ProviderDecorator.inner |
| Constructor and Description |
|---|
ProviderDecorator(ObjectProvider inner) |
SingletonProvider(ObjectProvider inner) |
| Modifier and Type | Class and Description |
|---|---|
class |
BurlapProvider
Provides a burlap service object.
|
class |
HessianProvider
Provides a hessian service object.
|
class |
JaxRpcProvider
Returns a proxy for a JAX-RPC-based service.
|
class |
RmiProvider
Provides an object by looking it up in an RMI registry.
|
class |
SessionBeanProvider
Provides a reference to a session bean by looking up the home object and calling (via reflection) the no-argument
create() method.
|
Copyright © 2005-2013 Apache Software Foundation. All Rights Reserved.