|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ProxyFactory | |
---|---|
com.thoughtworks.proxy.factory | Different implementations of the ProxyFactory interface. |
com.thoughtworks.proxy.kit | Utility classes building the toys. |
com.thoughtworks.proxy.toys.decorate | A toy to decorate the interaction with another object. |
com.thoughtworks.proxy.toys.delegate | A toy to delegate method calls to another object. |
com.thoughtworks.proxy.toys.dispatch | A toy to dispatch method calls to different objects. |
com.thoughtworks.proxy.toys.echo | A toy to trace method calls to objects. |
com.thoughtworks.proxy.toys.failover | A toy to handle failover situations. |
com.thoughtworks.proxy.toys.hotswap | A toy to hot swap instances. |
com.thoughtworks.proxy.toys.multicast | A toy to perform a single call on multiple objects and manage the results. |
com.thoughtworks.proxy.toys.nullobject | A toy to create dummy null objects with intelligent behaviour. |
com.thoughtworks.proxy.toys.pool | A toy to create object pools based on proxies. |
Uses of ProxyFactory in com.thoughtworks.proxy.factory |
---|
Classes in com.thoughtworks.proxy.factory that implement ProxyFactory | |
---|---|
class |
CglibProxyFactory
A ProxyFactory based on CGLIB. |
class |
StandardProxyFactory
A ProxyFactory based on a JDK greater or equal 1.3. |
Uses of ProxyFactory in com.thoughtworks.proxy.kit |
---|
Methods in com.thoughtworks.proxy.kit with parameters of type ProxyFactory | |
---|---|
static void |
ReflectionUtils.addIfClassProxyingSupportedAndNotObject(Class clazz,
Set interfaces,
ProxyFactory proxyFactory)
Add the given type to the set of interfaces, if the given ProxyFactory supports proxy generation for this type. |
Uses of ProxyFactory in com.thoughtworks.proxy.toys.decorate |
---|
Methods in com.thoughtworks.proxy.toys.decorate with parameters of type ProxyFactory | |
---|---|
static Object |
Decorating.object(Class[] types,
Object delegate,
InvocationDecorator decorator,
ProxyFactory factory)
Create a decorating proxy implementing specific types using a provided ProxyFactory . |
Uses of ProxyFactory in com.thoughtworks.proxy.toys.delegate |
---|
Methods in com.thoughtworks.proxy.toys.delegate that return ProxyFactory | |
---|---|
protected ProxyFactory |
DelegatingInvoker.getProxyFactory()
Retrieve the ProxyFactory to use. |
Methods in com.thoughtworks.proxy.toys.delegate with parameters of type ProxyFactory | |
---|---|
static Object |
Delegating.object(Class type,
Object delegate,
ProxyFactory factory)
Creating a delegating proxy for a signature compatible object using a special ProxyFactory . |
static Object |
Delegating.object(Class type,
Object delegate,
ProxyFactory factory,
int delegationMode)
Creating a delegating proxy for an object with a defined delegation mode using a special ProxyFactory . |
Constructors in com.thoughtworks.proxy.toys.delegate with parameters of type ProxyFactory | |
---|---|
DelegatingInvoker(ProxyFactory proxyFactory,
ObjectReference delegateReference,
boolean staticTyping)
Deprecated. since 0.2, use DelegatingInvoker.DelegatingInvoker(ProxyFactory, ObjectReference, int) |
|
DelegatingInvoker(ProxyFactory proxyFactory,
ObjectReference delegateReference,
int delegationMode)
Construct a DelegatingInvoker. |
Uses of ProxyFactory in com.thoughtworks.proxy.toys.dispatch |
---|
Methods in com.thoughtworks.proxy.toys.dispatch with parameters of type ProxyFactory | |
---|---|
static Object |
Dispatching.object(Class[] types,
Object[] delegates,
ProxyFactory factory)
Create a dispatching proxy of given types for the given objects using a special ProxyFactory implementation. |
Constructors in com.thoughtworks.proxy.toys.dispatch with parameters of type ProxyFactory | |
---|---|
DispatchingInvoker(ProxyFactory proxyFactory,
Class[] types,
ObjectReference[] delegateReferences)
Construct a DispatchinInvoker. |
Uses of ProxyFactory in com.thoughtworks.proxy.toys.echo |
---|
Methods in com.thoughtworks.proxy.toys.echo with parameters of type ProxyFactory | |
---|---|
static Object |
Echoing.object(Class type,
Object impl,
PrintWriter out,
ProxyFactory factory)
Create a echoing proxy for a type that delegates to an object and use a special ProxyFactory
implementation as well as reports to a given PrintWriter . |
static Object |
Echoing.object(Class type,
Object impl,
ProxyFactory factory)
Create a echoing proxy for a type that delegates to an object and use a special ProxyFactory
implementation as well as the system error channel to report. |
Constructors in com.thoughtworks.proxy.toys.echo with parameters of type ProxyFactory | |
---|---|
EchoDecorator(PrintWriter out,
ProxyFactory factory)
Construct an EchoingDecorator. |
Uses of ProxyFactory in com.thoughtworks.proxy.toys.failover |
---|
Methods in com.thoughtworks.proxy.toys.failover with parameters of type ProxyFactory | |
---|---|
static Object |
Failover.object(Class[] types,
ProxyFactory proxyFactory,
Object[] delegates,
Class exceptionClass)
Create a proxy of a specific types with failover capability using the given objects. |
static Object |
Failover.object(Class type,
ProxyFactory proxyFactory,
Object[] delegates,
Class exceptionClass)
Create a proxy of a specific type with failover capability using the given objects. |
Constructors in com.thoughtworks.proxy.toys.failover with parameters of type ProxyFactory | |
---|---|
FailoverInvoker(Class[] types,
ProxyFactory proxyFactory,
Object[] delegates,
Class exceptionClass)
Construct a FailoverInvoker. |
Uses of ProxyFactory in com.thoughtworks.proxy.toys.hotswap |
---|
Methods in com.thoughtworks.proxy.toys.hotswap with parameters of type ProxyFactory | |
---|---|
static Object |
HotSwapping.object(Class[] types,
ProxyFactory proxyFactory,
Object delegate,
boolean staticTyping)
Deprecated. since 0.2, use HotSwapping.object(Class[], ProxyFactory, Object, int) |
static Object |
HotSwapping.object(Class[] types,
ProxyFactory proxyFactory,
Object delegate,
int delegationMode)
Create a proxy with hot swapping capabilities for specifiy types of the delegate. |
static Object |
HotSwapping.object(Class[] types,
ProxyFactory proxyFactory,
ObjectReference objectReference,
boolean staticTyping)
Deprecated. since 0.2, use HotSwapping.object(Class[], ProxyFactory, ObjectReference, int) |
static Object |
HotSwapping.object(Class[] types,
ProxyFactory proxyFactory,
ObjectReference objectReference,
int delegationMode)
Create a proxy with hot swapping capabilities for specifiy types of the delegate given with an ObjectReference . |
static Object |
HotSwapping.object(Class type,
ProxyFactory proxyFactory,
Object delegate)
Create a proxy with hot swapping capability for a specific type and API compatible delegates. |
Constructors in com.thoughtworks.proxy.toys.hotswap with parameters of type ProxyFactory | |
---|---|
HotSwappingInvoker(Class[] types,
ProxyFactory proxyFactory,
ObjectReference delegateReference,
boolean staticTyping)
Deprecated. since 0.2, use HotSwappingInvoker.HotSwappingInvoker(Class[], ProxyFactory, ObjectReference, int) |
|
HotSwappingInvoker(Class[] types,
ProxyFactory proxyFactory,
ObjectReference delegateReference,
int delegationMode)
Construct a HotSwappingInvoker. |
Uses of ProxyFactory in com.thoughtworks.proxy.toys.multicast |
---|
Methods in com.thoughtworks.proxy.toys.multicast with parameters of type ProxyFactory | |
---|---|
static Class[] |
ClassHierarchyIntrospector.addIfClassProxyingSupportedAndNotObject(Class clazz,
Class[] interfaces,
ProxyFactory proxyFactory)
Deprecated. since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls. |
static Object |
Multicasting.object(Class[] types,
ProxyFactory proxyFactory,
Object[] targets)
Generate a proxy for the specified types calling the methods on the given targets. |
static Object |
Multicasting.object(Class type,
ProxyFactory proxyFactory,
Object[] targets)
Generate a proxy for the specified type calling the methods on the given targets. |
static Object |
Multicasting.object(ProxyFactory proxyFactory,
Object[] targets)
Generate a proxy that is calling the methods on the given targets. |
Constructors in com.thoughtworks.proxy.toys.multicast with parameters of type ProxyFactory | |
---|---|
MulticastingInvoker(Class[] type,
ProxyFactory proxyFactory,
Object[] targets)
Construct a MulticastingInvoker. |
Uses of ProxyFactory in com.thoughtworks.proxy.toys.nullobject |
---|
Methods in com.thoughtworks.proxy.toys.nullobject with parameters of type ProxyFactory | |
---|---|
static boolean |
Null.isNullObject(Object object,
ProxyFactory proxyFactory)
Determine whether an object was created by Null.object(Class, ProxyFactory) . |
static Object |
Null.object(Class type,
ProxyFactory proxyFactory)
Generate a Null Object proxy for a specific type. |
Constructors in com.thoughtworks.proxy.toys.nullobject with parameters of type ProxyFactory | |
---|---|
NullInvoker(Class type,
ProxyFactory proxyFactory)
Construct a NullInvoker. |
Uses of ProxyFactory in com.thoughtworks.proxy.toys.pool |
---|
Constructors in com.thoughtworks.proxy.toys.pool with parameters of type ProxyFactory | |
---|---|
Pool.PoolingInvoker(Pool pool,
ProxyFactory proxyFactory,
ObjectReference delegateReference,
int delegationMode)
Construct a PoolingInvoker. |
|
Pool(Class type,
Resetter resetter,
ProxyFactory proxyFactory)
Construct a populated Pool with a specific proxy factory. |
|
Pool(Class type,
Resetter resetter,
ProxyFactory proxyFactory,
int serializationMode)
Construct a populated Pool with a specific proxy factory and a serialization mode. |
|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |