A B C D E F G H I M N O P R S T W

A

add(Object) - Method in class com.thoughtworks.proxy.toys.pool.Pool
Add a new instance as resource to the pool.
add(Object[]) - Method in class com.thoughtworks.proxy.toys.pool.Pool
Add an array of new instances as resources to the pool.
addIfClassProxyingSupportedAndNotObject(Class, Set, ProxyFactory) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Add the given type to the set of interfaces, if the given ProxyFactory supports proxy generation for this type.
addIfClassProxyingSupportedAndNotObject(Class, Class[], ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.multicast.ClassHierarchyIntrospector
Deprecated. since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.

B

beforeMethodStarts(Object, Method, Object[]) - Method in interface com.thoughtworks.proxy.toys.decorate.InvocationDecorator
Called before a method is invoked on an object, to possibly decorate the arguments being passed to the method invocation.
beforeMethodStarts(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.decorate.InvocationDecoratorSupport
 
beforeMethodStarts(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 

C

canProxy(Class) - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
canProxy(Class) - Method in class com.thoughtworks.proxy.factory.StandardProxyFactory
 
canProxy(Class) - Method in interface com.thoughtworks.proxy.ProxyFactory
Test if the ProxyFactory implementation is capable of creating a proxy instance for the given type.
CglibProxyFactory - Class in com.thoughtworks.proxy.factory
A ProxyFactory based on CGLIB.
CglibProxyFactory() - Constructor for class com.thoughtworks.proxy.factory.CglibProxyFactory
 
checkForCycle() - Method in interface com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker.CycleCheck
Checks for a cyclic swap action.
ClassHierarchyIntrospector - Class in com.thoughtworks.proxy.toys.multicast
Deprecated. since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
com.thoughtworks.proxy - package com.thoughtworks.proxy
An implementation neutral API for creation of dynamic proxies.
com.thoughtworks.proxy.factory - package com.thoughtworks.proxy.factory
Different implementations of the ProxyFactory interface.
com.thoughtworks.proxy.kit - package com.thoughtworks.proxy.kit
Utility classes building the toys.
com.thoughtworks.proxy.toys.decorate - package com.thoughtworks.proxy.toys.decorate
A toy to decorate the interaction with another object.
com.thoughtworks.proxy.toys.delegate - package com.thoughtworks.proxy.toys.delegate
A toy to delegate method calls to another object.
com.thoughtworks.proxy.toys.dispatch - package com.thoughtworks.proxy.toys.dispatch
A toy to dispatch method calls to different objects.
com.thoughtworks.proxy.toys.echo - package com.thoughtworks.proxy.toys.echo
A toy to trace method calls to objects.
com.thoughtworks.proxy.toys.failover - package com.thoughtworks.proxy.toys.failover
A toy to handle failover situations.
com.thoughtworks.proxy.toys.hotswap - package com.thoughtworks.proxy.toys.hotswap
A toy to hot swap instances.
com.thoughtworks.proxy.toys.multicast - package com.thoughtworks.proxy.toys.multicast
A toy to perform a single call on multiple objects and manage the results.
com.thoughtworks.proxy.toys.nullobject - package com.thoughtworks.proxy.toys.nullobject
A toy to create dummy null objects with intelligent behaviour.
com.thoughtworks.proxy.toys.pool - package com.thoughtworks.proxy.toys.pool
A toy to create object pools based on proxies.
createProxy(Class[], Invoker) - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory
Create a new proxy instance.
createProxy(Class[], Invoker) - Method in class com.thoughtworks.proxy.factory.StandardProxyFactory
 
createProxy(Class[], Invoker) - Method in interface com.thoughtworks.proxy.ProxyFactory
Create a new proxy instance.

D

decorateInvocationException(Object, Method, Object[], Exception) - Method in interface com.thoughtworks.proxy.toys.decorate.InvocationDecorator
Called when a method cannot be invoked, to possibly decorate the type of error.
decorateInvocationException(Object, Method, Object[], Exception) - Method in class com.thoughtworks.proxy.toys.decorate.InvocationDecoratorSupport
 
decorateInvocationException(Object, Method, Object[], Exception) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
decorateResult(Object, Method, Object[], Object) - Method in interface com.thoughtworks.proxy.toys.decorate.InvocationDecorator
Called on the way back from a method invocation, to possibly decorate the result.
decorateResult(Object, Method, Object[], Object) - Method in class com.thoughtworks.proxy.toys.decorate.InvocationDecoratorSupport
 
decorateResult(Object, Method, Object[], Object) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
decorateTargetException(Object, Method, Object[], Throwable) - Method in interface com.thoughtworks.proxy.toys.decorate.InvocationDecorator
Called when a called method fails, to possibly decorate the type of error.
decorateTargetException(Object, Method, Object[], Throwable) - Method in class com.thoughtworks.proxy.toys.decorate.InvocationDecoratorSupport
 
decorateTargetException(Object, Method, Object[], Throwable) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
Decorating - Class in com.thoughtworks.proxy.toys.decorate
Toy factory to create proxies decorating an object in an AOP style.
DecoratingInvoker - Class in com.thoughtworks.proxy.toys.decorate
Invoker implementation for the decorating proxy.
DecoratingInvoker(Invoker, InvocationDecorator) - Constructor for class com.thoughtworks.proxy.toys.decorate.DecoratingInvoker
Construct a DecoratingInvoker decorating another Invoker.
DecoratingInvoker(Object, InvocationDecorator) - Constructor for class com.thoughtworks.proxy.toys.decorate.DecoratingInvoker
Construct a DecoratingInvoker decorating another object.
delegate() - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Retrieve the delegated object in derived classes.
delegate() - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
Delegating - Class in com.thoughtworks.proxy.toys.delegate
Toy factory to create proxies delegating to another object.
DelegatingInvoker - Class in com.thoughtworks.proxy.toys.delegate
Invoker that delegates method calls to an object.
DelegatingInvoker(ProxyFactory, ObjectReference, int) - Constructor for class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Construct a DelegatingInvoker.
DelegatingInvoker(ProxyFactory, ObjectReference, boolean) - Constructor for class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Deprecated. since 0.2, use DelegatingInvoker.DelegatingInvoker(ProxyFactory, ObjectReference, int)
DelegatingInvoker(Object) - Constructor for class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Construct a DelegatingInvoker with a StandardProxyFactory and Delegating.MODE_SIGNATURE.
DelegationException - Exception in com.thoughtworks.proxy.toys.delegate
Exception thrown if a delegation from the proxy to the delegated object fails.
DelegationException(String, Throwable, Object) - Constructor for exception com.thoughtworks.proxy.toys.delegate.DelegationException
Construct a DelegationException.
Dispatching - Class in com.thoughtworks.proxy.toys.dispatch
Proxy factory for dispatching proxy instances.
DispatchingException - Exception in com.thoughtworks.proxy.toys.dispatch
An exception if a type cannot be dispatched.
DispatchingException(String, Class) - Constructor for exception com.thoughtworks.proxy.toys.dispatch.DispatchingException
Construct a DispatchingException with the offending type.
DispatchingInvoker - Class in com.thoughtworks.proxy.toys.dispatch
Invoker that dispatches all invocations to different objects according the membership of the method.
DispatchingInvoker(ProxyFactory, Class[], ObjectReference[]) - Constructor for class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
Construct a DispatchinInvoker.
DispatchingInvoker() - Constructor for class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
Constructor used by pure reflection serialization.
DYNAMIC_TYPING - Static variable in class com.thoughtworks.proxy.toys.delegate.Delegating
Deprecated. since 0.2, use Delegating.MODE_SIGNATURE

E

EchoDecorator - Class in com.thoughtworks.proxy.toys.echo
A InvocationDecoratorSupport implementation that echoes any invocation to a PrintWriter.
EchoDecorator(PrintWriter, ProxyFactory) - Constructor for class com.thoughtworks.proxy.toys.echo.EchoDecorator
Construct an EchoingDecorator.
Echoing - Class in com.thoughtworks.proxy.toys.echo
Factory for echoing proxy instances.
equals - Static variable in class com.thoughtworks.proxy.kit.ReflectionUtils
the Object.equals(Object) method.
equals(Object) - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Compares a DelegatingInvoker with another one for equality.
equals - Static variable in class com.thoughtworks.proxy.toys.multicast.ClassHierarchyIntrospector
Deprecated. since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.

F

Failover - Class in com.thoughtworks.proxy.toys.failover
Factory for proxy instances handling failover..
FailoverInvoker - Class in com.thoughtworks.proxy.toys.failover
Invoker that implements a failover strategy by using different delegates in case of an exception.
FailoverInvoker(Class[], ProxyFactory, Object[], Class) - Constructor for class com.thoughtworks.proxy.toys.failover.FailoverInvoker
Construct a FailoverInvoker.

G

get() - Method in interface com.thoughtworks.proxy.kit.ObjectReference
Retrieve an actual reference to the object.
get() - Method in class com.thoughtworks.proxy.kit.SimpleReference
 
get() - Method in class com.thoughtworks.proxy.toys.pool.Pool
Get an instance from the pool.
getAllInterfaces(Object[]) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Get all the interfaces implemented by a list of objects.
getAllInterfaces(Class) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Get all interfaces of the given type.
getAllInterfaces(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.ClassHierarchyIntrospector
Deprecated. since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
getAllInterfaces(Class) - Static method in class com.thoughtworks.proxy.toys.multicast.ClassHierarchyIntrospector
Deprecated. since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
getAvailable() - Method in class com.thoughtworks.proxy.toys.pool.Pool
Return the number of available instances of the pool.
getCause() - Method in exception com.thoughtworks.proxy.toys.delegate.DelegationException
Retruns the causing Throwable.
getDelegate() - Method in exception com.thoughtworks.proxy.toys.delegate.DelegationException
Returns the delegated object.
getDelegateReference() - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Retrieve the ObjectReference of the delegate.
getInvoker() - Method in interface com.thoughtworks.proxy.factory.InvokerReference
Rertrieve the Invoker instance from the proxy.
getInvoker(Object) - Method in interface com.thoughtworks.proxy.ProxyFactory
Retrieve the invocation handler of the proxy.
getMatchingMethod(Class, String, Object[]) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Get the method of the given type, that has matching parameter types to the given arguments.
getMethodToInvoke(Method, Object[]) - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Lookup a matching method.
getMostCommonSuperclass(Object[]) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Get most common superclass for all given objects.
getMostCommonSuperclass(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.ClassHierarchyIntrospector
Deprecated. since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
getProxyFactory() - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Retrieve the ProxyFactory to use.
getTarget() - Method in class com.thoughtworks.proxy.kit.SimpleInvoker
Retrieve the target of the invocations.
getTargetsInArray(Class) - Method in interface com.thoughtworks.proxy.toys.multicast.Multicast
Access the targets of the proxy in a typed array.
getTargetsInArray() - Method in interface com.thoughtworks.proxy.toys.multicast.Multicast
Access the targets of the proxy in an array.
getType() - Method in exception com.thoughtworks.proxy.toys.dispatch.DispatchingException
Returns the offending type.

H

hashCode - Static variable in class com.thoughtworks.proxy.kit.ReflectionUtils
the Object.hashCode() method.
hashCode() - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
 
hashCode - Static variable in class com.thoughtworks.proxy.toys.multicast.ClassHierarchyIntrospector
Deprecated. since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
hotswap(Object) - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
Exchange the current delegate.
hotswap(Object) - Method in interface com.thoughtworks.proxy.toys.hotswap.Swappable
Swaps the subject behind the proxy with a new instance.
HotSwapping - Class in com.thoughtworks.proxy.toys.hotswap
Factory for proxy instances that allow to exchange the delegated instance.
HotSwappingInvoker - Class in com.thoughtworks.proxy.toys.hotswap
A DelegatingInvoker implementation that allows the exchange of the delegate.
HotSwappingInvoker(Class[], ProxyFactory, ObjectReference, int) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
Construct a HotSwappingInvoker.
HotSwappingInvoker(Class[], ProxyFactory, ObjectReference, boolean) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
Deprecated. since 0.2, use HotSwappingInvoker.HotSwappingInvoker(Class[], ProxyFactory, ObjectReference, int)
HotSwappingInvoker.CycleCheck - Interface in com.thoughtworks.proxy.toys.hotswap
Internal interface used to detect cyclic swapping activity.

I

InvocationDecorator - Interface in com.thoughtworks.proxy.toys.decorate
Decorates a method invocation
InvocationDecoratorSupport - Class in com.thoughtworks.proxy.toys.decorate
Identity implementation for a InvokerDecorator.
InvocationDecoratorSupport() - Constructor for class com.thoughtworks.proxy.toys.decorate.InvocationDecoratorSupport
 
invoke(Object, Method, Object[]) - Method in interface com.thoughtworks.proxy.Invoker
Invocation of a method of the proxied object.
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.kit.PrivateInvoker
 
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.kit.SimpleInvoker
 
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.decorate.DecoratingInvoker
 
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
 
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
 
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.nullobject.NullInvoker
 
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
 
invokeOnDelegate(Method, Object[]) - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Invoke the given method on the delegate.
invokeOnDelegate(Method, Object[]) - Method in class com.thoughtworks.proxy.toys.failover.FailoverInvoker
 
Invoker - Interface in com.thoughtworks.proxy
Generic interface for any call made to a proxy instance.
InvokerReference - Interface in com.thoughtworks.proxy.factory
Interface to access the Invoker of the proxy.
isNullObject(Object) - Static method in class com.thoughtworks.proxy.toys.nullobject.Null
Determine whether an object was created by Null.object(Class).
isNullObject(Object, ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.nullobject.Null
Determine whether an object was created by Null.object(Class, ProxyFactory).
isProxyClass(Class) - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
isProxyClass(Class) - Method in class com.thoughtworks.proxy.factory.StandardProxyFactory
 
isProxyClass(Class) - Method in interface com.thoughtworks.proxy.ProxyFactory
Test if the given type is a proxy class.

M

MODE_DIRECT - Static variable in class com.thoughtworks.proxy.toys.delegate.Delegating
Delegate must implement the method's interface
MODE_SIGNATURE - Static variable in class com.thoughtworks.proxy.toys.delegate.Delegating
Delegate must have method with same name and matching signature - not necessarily the same
Multicast - Interface in com.thoughtworks.proxy.toys.multicast
Interface that is implemented by all multicasting proxies.
Multicasting - Class in com.thoughtworks.proxy.toys.multicast
Toy factory to create proxies delegating a call to multiple objects and managing the individual results.
MulticastingInvoker - Class in com.thoughtworks.proxy.toys.multicast
A Invoker implementation that multicasts calls to multiple targets.
MulticastingInvoker(Class[], ProxyFactory, Object[]) - Constructor for class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
Construct a MulticastingInvoker.
multicastTargets(Class, String, Object[]) - Method in interface com.thoughtworks.proxy.toys.multicast.Multicast
Multicast a matching method call, that is not available with the types implemented by the proxy.
multicastTargets(Method, Object[]) - Method in interface com.thoughtworks.proxy.toys.multicast.Multicast
Multicast a direct method call, that is not available with the types implemented by the proxy.

N

NoOperationResetter - Class in com.thoughtworks.proxy.kit
A Resetter that has no operation.
NoOperationResetter() - Constructor for class com.thoughtworks.proxy.kit.NoOperationResetter
 
Null - Class in com.thoughtworks.proxy.toys.nullobject
Toy factory to create proxies acting as Null Objects.
NULL_OBJECT - Static variable in class com.thoughtworks.proxy.toys.nullobject.Null
The Null Object.
NULL_SORTED_MAP - Static variable in class com.thoughtworks.proxy.toys.nullobject.Null
Immutable Null Object implementation of SortedMap
NULL_SORTED_SET - Static variable in class com.thoughtworks.proxy.toys.nullobject.Null
Immutable Null Object implementation of SortedSet
NullInvoker - Class in com.thoughtworks.proxy.toys.nullobject
A Invoker implementation that returns always new Null objects.
NullInvoker(Class, ProxyFactory) - Constructor for class com.thoughtworks.proxy.toys.nullobject.NullInvoker
Construct a NullInvoker.

O

object(Class, Object, InvocationDecorator) - Static method in class com.thoughtworks.proxy.toys.decorate.Decorating
Create a decorating proxy implementing a specific type.
object(Class[], Object, InvocationDecorator) - Static method in class com.thoughtworks.proxy.toys.decorate.Decorating
Create a decorating proxy implementing specific types.
object(Class[], Object, InvocationDecorator, ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.decorate.Decorating
Create a decorating proxy implementing specific types using a provided ProxyFactory.
object(Class, Object) - Static method in class com.thoughtworks.proxy.toys.delegate.Delegating
Creating a delegating proxy for a signature compatible object.
object(Class, Object, int) - Static method in class com.thoughtworks.proxy.toys.delegate.Delegating
Creating a delegating proxy for an object with a defined delegation mode.
object(Class, Object, ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.delegate.Delegating
Creating a delegating proxy for a signature compatible object using a special ProxyFactory.
object(Class, Object, ProxyFactory, int) - Static method in class com.thoughtworks.proxy.toys.delegate.Delegating
Creating a delegating proxy for an object with a defined delegation mode using a special ProxyFactory.
object(Class[], Object[]) - Static method in class com.thoughtworks.proxy.toys.dispatch.Dispatching
Create a dispatching proxy of given types for the given objects.
object(Class[], Object[], ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.dispatch.Dispatching
Create a dispatching proxy of given types for the given objects using a special ProxyFactory implementation.
object(Class) - Static method in class com.thoughtworks.proxy.toys.echo.Echoing
Create a echoing proxy for a type and use system error channel to report.
object(Class, PrintWriter) - Static method in class com.thoughtworks.proxy.toys.echo.Echoing
Create a echoing proxy for a type and report to a given PrintWriter.
object(Class, Object) - Static method in class com.thoughtworks.proxy.toys.echo.Echoing
Create a echoing proxy for a type that delegates to an object and use system error channel to report.
object(Class, Object, ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.echo.Echoing
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.
object(Class, Object, PrintWriter) - Static method in class com.thoughtworks.proxy.toys.echo.Echoing
Create a echoing proxy for a type that delegates to an object and report to a given PrintWriter.
object(Class, Object, PrintWriter, ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.echo.Echoing
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.
object(Class, ProxyFactory, Object[], Class) - Static method in class com.thoughtworks.proxy.toys.failover.Failover
Create a proxy of a specific type with failover capability using the given objects.
object(Class[], ProxyFactory, Object[], Class) - Static method in class com.thoughtworks.proxy.toys.failover.Failover
Create a proxy of a specific types with failover capability using the given objects.
object(Class, ProxyFactory, Object) - Static method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
Create a proxy with hot swapping capability for a specific type and API compatible delegates.
object(Class[], ProxyFactory, Object, int) - Static method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
Create a proxy with hot swapping capabilities for specifiy types of the delegate.
object(Class[], ProxyFactory, Object, boolean) - Static method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
Deprecated. since 0.2, use HotSwapping.object(Class[], ProxyFactory, Object, int)
object(Class[], ProxyFactory, ObjectReference, int) - Static method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
Create a proxy with hot swapping capabilities for specifiy types of the delegate given with an ObjectReference.
object(Class[], ProxyFactory, ObjectReference, boolean) - Static method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
Deprecated. since 0.2, use HotSwapping.object(Class[], ProxyFactory, ObjectReference, int)
object(Class[], ProxyFactory, Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.Multicasting
Generate a proxy for the specified types calling the methods on the given targets.
object(Class, ProxyFactory, Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.Multicasting
Generate a proxy for the specified type calling the methods on the given targets.
object(ProxyFactory, Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.Multicasting
Generate a proxy that is calling the methods on the given targets.
object(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.Multicasting
Generate a proxy that is calling the methods on the given targets using a StandardProxyFactory.
object(Class, ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.nullobject.Null
Generate a Null Object proxy for a specific type.
object(Class) - Static method in class com.thoughtworks.proxy.toys.nullobject.Null
Generate a Null Object proxy for a specific type using the StandardProxyFactory.
ObjectReference - Interface in com.thoughtworks.proxy.kit
A way to refer to objects that are stored in "awkward" places (for example inside a HttpSession or ThreadLocal).

P

Pool - Class in com.thoughtworks.proxy.toys.pool
A simple pool implementation that collects its unused components of a specific type automatically.
Pool(Class, Resetter) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
Construct an Pool using the StandardProxyFactory.
Pool(Class, Resetter, ProxyFactory) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
Construct a populated Pool with a specific proxy factory.
Pool(Class, Resetter, ProxyFactory, int) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
Construct a populated Pool with a specific proxy factory and a serialization mode.
Pool.PoolingInvoker - Class in com.thoughtworks.proxy.toys.pool
The Invoker of the proxy.
Pool.PoolingInvoker(Pool, ProxyFactory, ObjectReference, int) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
Construct a PoolingInvoker.
Poolable - Interface in com.thoughtworks.proxy.toys.pool
An interface automatically implemented by the proxy instances returned from an Pool.
PrivateInvoker - Class in com.thoughtworks.proxy.kit
An Invoker that is able to call protected and private methods.
PrivateInvoker(Object) - Constructor for class com.thoughtworks.proxy.kit.PrivateInvoker
Construct a PrivateInvoker.
proxy() - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
Create a proxy for this Invoker.
proxy() - Method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
Create a proxy for this Invoker.
proxy() - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
Create a proxy for the types of the pool.
ProxyFactory - Interface in com.thoughtworks.proxy
Abstraction layer for proxy generation.

R

readMethod(ObjectInputStream) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Read a Method from an ObjectInputStream.
ReflectionUtils - Class in com.thoughtworks.proxy.kit
Helper class for introspecting interface and class hierarchies.
release(Object) - Method in class com.thoughtworks.proxy.toys.pool.Pool
Release a pool instance manually.
reset(Object) - Method in class com.thoughtworks.proxy.kit.NoOperationResetter
Reset the pooled object.
reset(Object) - Method in interface com.thoughtworks.proxy.kit.Resetter
Reset the pooled object.
Resetter - Interface in com.thoughtworks.proxy.kit
Interface for a resetter component.
returnInstanceToPool() - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
Return the current instance to the pool.
returnInstanceToPool() - Method in interface com.thoughtworks.proxy.toys.pool.Poolable
Return the managed instance of this proxy directly to its pool.

S

SERIALIZATION_FORCE - Static variable in class com.thoughtworks.proxy.toys.pool.Pool
SERIALIZATION_FORCE is the value for serialization of the pool with or without serializable objects.
SERIALIZATION_NONE - Static variable in class com.thoughtworks.proxy.toys.pool.Pool
SERIALIZATION_NONE is the value for serialization of the pool without the objects.
SERIALIZATION_STANDARD - Static variable in class com.thoughtworks.proxy.toys.pool.Pool
SERIALIZATION_STANDARD is the value for the standard serialization of the pool with its objects.
set(Object) - Method in interface com.thoughtworks.proxy.kit.ObjectReference
Assign an object to the reference.
set(Object) - Method in class com.thoughtworks.proxy.kit.SimpleReference
 
SimpleInvoker - Class in com.thoughtworks.proxy.kit
A simple Invoker implementation, that routes any call to a target object.
SimpleInvoker(Object) - Constructor for class com.thoughtworks.proxy.kit.SimpleInvoker
Construct a SimpleInvoker.
SimpleReference - Class in com.thoughtworks.proxy.kit
Simple implmenentation for an ObjectReference.
SimpleReference(Object) - Constructor for class com.thoughtworks.proxy.kit.SimpleReference
Construct a SimpleReference.
size() - Method in class com.thoughtworks.proxy.toys.pool.Pool
Retrieve the number of instances managed by the pool.
StandardProxyFactory - Class in com.thoughtworks.proxy.factory
A ProxyFactory based on a JDK greater or equal 1.3.
StandardProxyFactory() - Constructor for class com.thoughtworks.proxy.factory.StandardProxyFactory
 
STATIC_TYPING - Static variable in class com.thoughtworks.proxy.toys.delegate.Delegating
Deprecated. since 0.2, use Delegating.MODE_DIRECT
Swappable - Interface in com.thoughtworks.proxy.toys.hotswap
Interface implemented by all proxy instances created by HotSwappingInvoker.

T

toClassArray(Collection) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Convert the collection of class types to an array of class types.
toString - Static variable in class com.thoughtworks.proxy.kit.ReflectionUtils
the Object.toString() method.

W

writeMethod(ObjectOutputStream, Method) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Write a Method into an ObjectOutputStream.

A B C D E F G H I M N O P R S T W