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

A

AccessControllerExecutor - Class in com.thoughtworks.proxy.toys.privilege
Execution of a PrivilegedExceptionAction with the AccessController.
AccessControllerExecutor() - Constructor for class com.thoughtworks.proxy.toys.privilege.AccessControllerExecutor
Construct an AccessControllerExecutor that runs a PrivilegedExceptionAction with the privileges of the AccessControlContext of the caller.
AccessControllerExecutor(AccessControlContext) - Constructor for class com.thoughtworks.proxy.toys.privilege.AccessControllerExecutor
Construct an AccessControllerExecutor that runs a PrivilegedExceptionAction with special privileges.
ActionExecutor - Interface in com.thoughtworks.proxy.toys.privilege
Interface to execute a PrivilegedExceptionAction.
add(T...) - Method in class com.thoughtworks.proxy.toys.pool.Pool
Add an array of new instances as resources to the pool.
addIfClassProxyingSupportedAndNotObject(Class<?>, Set<Class<?>>, 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.

B

beforeMethodStarts(T, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.decorate.Decorator
Called before a method is invoked on an object, to possibly decorate the arguments being passed to the method invocation.
beforeMethodStarts(T, Method, Object[]) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
build() - Method in class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingBuild
Creating a decorating proxy for an object using the StandardProxyFactory.
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingBuild
Creating a decorating proxy for an object using a special ProxyFactory.
build() - Method in class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingBuild
Creating a delegating proxy for an object using the StandardProxyFactory.
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingBuild
Creating a delegating proxy for an object using a special ProxyFactory.
build() - Method in class com.thoughtworks.proxy.toys.dispatch.Dispatching.DispatchingBuild
Create a dispatching proxy of given types for the given objects using the StandardProxyFactory
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.dispatch.Dispatching.DispatchingBuild
Create a dispatching proxy of given types for the given objects using a special ProxyFactory.
build() - Method in class com.thoughtworks.proxy.toys.echo.Echoing.EchoingBuild
Creating a delegating proxy for an object using the StandardProxyFactory.
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.echo.Echoing.EchoingBuild
Creating a delegating proxy for an object using a special ProxyFactory.
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.failover.Failover.FailoverBuild
Create a proxy of a specific types with failover capability using the given objects.
build() - Method in class com.thoughtworks.proxy.toys.future.Future.FutureBuild
 
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.future.Future.FutureBuild
Create a proxy with asynchronously called methods.
build() - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuild
Create a proxy with hot swapping capabilities for specific types of the delegate given with an ObjectReference.
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuild
Create a proxy with hot swapping capabilities for specific types of the delegate given with an ObjectReference.
build() - Method in class com.thoughtworks.proxy.toys.multicast.Multicasting.MulticastingBuild
 
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.multicast.Multicasting.MulticastingBuild
Generate a proxy for the specified types calling the methods on the given targets using the StandardProxyFactory.
build() - Method in class com.thoughtworks.proxy.toys.nullobject.Null.NullBuild
Generate a Null Object proxy for a specific type using theStandardProxyFactory.
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.nullobject.Null.NullBuild
Generate a Null Object proxy for a specific type using a special ProxyFactory.
build() - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolBuild
Build the pool using the StandardProxyFactory.
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolBuild
Build the pool using a special ProxyFactory.
build() - Method in class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingBuild
Creating a privileging proxy for an object using the StandardProxyFactory.
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingBuild
Creating a privileging proxy for an object using a special ProxyFactory.

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.
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.future - package com.thoughtworks.proxy.toys.future
A toy to delay method execution into future.
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 behavior.
com.thoughtworks.proxy.toys.pool - package com.thoughtworks.proxy.toys.pool
A toy to create object pools based on proxies.
com.thoughtworks.proxy.toys.privilege - package com.thoughtworks.proxy.toys.privilege
A toy to run method calls as privileged actions.
create(Class<T>) - Static method in class com.thoughtworks.proxy.toys.pool.Pool
Creates a factory for a pool instance which proxy the managed elements in the pool.
createProxy(Invoker, Class<?>...) - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory
Create a new proxy instance.
createProxy(Invoker, Class<?>...) - Method in class com.thoughtworks.proxy.factory.StandardProxyFactory
 
createProxy(Invoker, Class<?>...) - Method in interface com.thoughtworks.proxy.ProxyFactory
Create a new proxy instance.

D

decorateInvocationException(T, Method, Object[], Exception) - Method in class com.thoughtworks.proxy.toys.decorate.Decorator
Called when a method cannot be invoked, to possibly decorate the type of error.
decorateInvocationException(T, Method, Object[], Exception) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
decorateResult(T, Method, Object[], Object) - Method in class com.thoughtworks.proxy.toys.decorate.Decorator
Called on the way back from a method invocation, to possibly decorate the result.
decorateResult(T, Method, Object[], Object) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
decorateTargetException(T, Method, Object[], Throwable) - Method in class com.thoughtworks.proxy.toys.decorate.Decorator
Called when a called method fails, to possibly decorate the type of error.
decorateTargetException(T, Method, Object[], Throwable) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
Decorating<U,T> - Class in com.thoughtworks.proxy.toys.decorate
Toy factory to create proxies decorating an object in an AOP style.
Decorating.DecoratingBuild<U,T> - Class in com.thoughtworks.proxy.toys.decorate
 
Decorating.DecoratingVisitor<U,T> - Class in com.thoughtworks.proxy.toys.decorate
 
Decorating.DecoratingWith<T> - Class in com.thoughtworks.proxy.toys.decorate
 
DecoratingInvoker<T> - Class in com.thoughtworks.proxy.toys.decorate
Invoker implementation for the decorating proxy.
DecoratingInvoker(Invoker, Decorator<T>) - Constructor for class com.thoughtworks.proxy.toys.decorate.DecoratingInvoker
Construct a DecoratingInvoker decorating another Invoker.
DecoratingInvoker(Object, Decorator<T>) - Constructor for class com.thoughtworks.proxy.toys.decorate.DecoratingInvoker
Construct a DecoratingInvoker decorating another object.
Decorator<T> - Class in com.thoughtworks.proxy.toys.decorate
Identity implementation for a Decorator.
Decorator() - Constructor for class com.thoughtworks.proxy.toys.decorate.Decorator
 
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<T> - Class in com.thoughtworks.proxy.toys.delegate
Toy factory to create proxies delegating to another object.
delegating - Variable in class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingBuild
 
Delegating.DelegatingBuild<T> - Class in com.thoughtworks.proxy.toys.delegate
 
Delegating.DelegatingModeOrBuild<T> - Class in com.thoughtworks.proxy.toys.delegate
 
Delegating.DelegatingWith<T> - Class in com.thoughtworks.proxy.toys.delegate
 
DelegatingInvoker<T> - Class in com.thoughtworks.proxy.toys.delegate
Invoker that delegates method calls to an object.
DelegatingInvoker(ProxyFactory, ObjectReference<T>, DelegationMode) - Constructor for class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Construct a DelegatingInvoker.
DelegatingInvoker(T) - Constructor for class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Construct a DelegatingInvoker with a StandardProxyFactory and DelegationMode.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.
DelegationMode - Enum in com.thoughtworks.proxy.toys.delegate
Indicates the preferred way to delegate to created proxies.
DirectExecutor - Class in com.thoughtworks.proxy.toys.privilege
Direct execution of a PrivilegedExceptionAction.
DirectExecutor() - Constructor for class com.thoughtworks.proxy.toys.privilege.DirectExecutor
 
Dispatching<T> - Class in com.thoughtworks.proxy.toys.dispatch
Proxy factory for dispatching proxy instances.
Dispatching.DispatchingBuild<T> - Class in com.thoughtworks.proxy.toys.dispatch
 
Dispatching.DispatchingWith<T> - Class in com.thoughtworks.proxy.toys.dispatch
 
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<Object>[]) - Constructor for class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
Construct a DispatchingInvoker.
DispatchingInvoker() - Constructor for class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
Constructor used by pure reflection serialization.

E

EchoDecorator<T> - Class in com.thoughtworks.proxy.toys.echo
A Decorator implementation that echoes any invocation to a PrintWriter.
EchoDecorator(PrintWriter, ProxyFactory) - Constructor for class com.thoughtworks.proxy.toys.echo.EchoDecorator
Construct an EchoingDecorator.
Echoing<T> - Class in com.thoughtworks.proxy.toys.echo
Factory for echoing proxy instances.
echoing - Variable in class com.thoughtworks.proxy.toys.echo.Echoing.EchoingTo
 
Echoing.EchoingBuild<T> - Class in com.thoughtworks.proxy.toys.echo
 
Echoing.EchoingTo<T> - Class in com.thoughtworks.proxy.toys.echo
 
Echoing.EchoingWithOrTo<T> - Class in com.thoughtworks.proxy.toys.echo
 
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.
excepting(Class<? extends Throwable>) - Method in class com.thoughtworks.proxy.toys.failover.Failover.FailoverExceptingOrBuild
Excepting this exception class.
execute(PrivilegedExceptionAction<Object>) - Method in class com.thoughtworks.proxy.toys.privilege.AccessControllerExecutor
 
execute(PrivilegedExceptionAction<Object>) - Method in interface com.thoughtworks.proxy.toys.privilege.ActionExecutor
Execute a PrivilegedExceptionAction.
execute(PrivilegedExceptionAction<Object>) - Method in class com.thoughtworks.proxy.toys.privilege.DirectExecutor
 
execute(PrivilegedExceptionAction<Object>) - Method in class com.thoughtworks.proxy.toys.privilege.SubjectExecutor
 
executedBy(ActionExecutor) - Method in class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingExecutedByOrBuild
Executed with this action executor.

F

Failover<T> - Class in com.thoughtworks.proxy.toys.failover
Factory for proxy instances handling failover.
failover - Variable in class com.thoughtworks.proxy.toys.failover.Failover.FailoverBuild
 
Failover.FailoverBuild<T> - Class in com.thoughtworks.proxy.toys.failover
 
Failover.FailoverExceptingOrBuild<T> - Class in com.thoughtworks.proxy.toys.failover
 
Failover.FailoverWithOrExceptingOrBuild<T> - Class in com.thoughtworks.proxy.toys.failover
 
FailoverInvoker<T> - 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, T[], Class<? extends Throwable>) - Constructor for class com.thoughtworks.proxy.toys.failover.FailoverInvoker
Construct a FailoverInvoker.
Future<T> - Class in com.thoughtworks.proxy.toys.future
Factory for proxy instances that run any method call concurrently and return the method result later.
Future.FutureBuild<T> - Class in com.thoughtworks.proxy.toys.future
 
Future.FutureWith<T> - Class in com.thoughtworks.proxy.toys.future
 
FutureInvoker - Class in com.thoughtworks.proxy.toys.future
Invoker that implements transparent asynchronous method calls.
FutureInvoker(Object, ProxyFactory, ExecutorService) - Constructor for class com.thoughtworks.proxy.toys.future.FutureInvoker
Construct the invoker.

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.
getAvailable() - Method in class com.thoughtworks.proxy.toys.pool.Pool
Return the number of available instances of the pool.
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
Retrieve 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.
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<T>) - 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
 
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<T> - Class in com.thoughtworks.proxy.toys.hotswap
Factory for proxy instances that allow to exchange the delegated instance.
hotswapping - Variable in class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuild
 
HotSwapping.HotSwappingBuild<T> - Class in com.thoughtworks.proxy.toys.hotswap
 
HotSwapping.HotSwappingBuild(HotSwapping<T>) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuild
 
HotSwapping.HotSwappingBuildOrMode<T> - Class in com.thoughtworks.proxy.toys.hotswap
 
HotSwapping.HotSwappingBuildOrMode(HotSwapping<T>) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuildOrMode
 
HotSwapping.HotSwappingWith<T> - Class in com.thoughtworks.proxy.toys.hotswap
 
HotSwapping.HotSwappingWith(HotSwapping<T>) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingWith
 
HotSwappingInvoker<T> - Class in com.thoughtworks.proxy.toys.hotswap
A DelegatingInvoker implementation that allows the exchange of the delegate.
HotSwappingInvoker(Class<?>[], ProxyFactory, ObjectReference<Object>, DelegationMode) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
Construct a HotSwappingInvoker.
HotSwappingInvoker.CycleCheck - Interface in com.thoughtworks.proxy.toys.hotswap
Internal interface used to detect cyclic swapping activity.

I

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.future.FutureInvoker
 
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
 
invokeOnDelegate(Method, Object[]) - Method in class com.thoughtworks.proxy.toys.privilege.PrivilegingInvoker
 
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.proxy(Class).
isNullObject(Object, ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.nullobject.Null
Determine whether an object was created by Null.proxy(Class) using a special ProxyFactory with the builder.
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

makeTypesArray(Class<?>, Class<?>[]) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Create an array of types.
mode(DelegationMode) - Method in class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingModeOrBuild
Forces a particular delegation mode to be used.
mode(DelegationMode) - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuildOrMode
Forces a particular delegation mode to be used.
mode(SerializationMode) - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolModeOrBuild
Specify the serializationMode SerializationMode.STANDARD: the standard mode, i.e.
Multicast - Interface in com.thoughtworks.proxy.toys.multicast
Interface that is implemented by all multicasting proxies.
Multicasting<T> - Class in com.thoughtworks.proxy.toys.multicast
Toy factory to create proxies delegating a call to multiple objects and managing the individual results.
Multicasting.MulticastingBuild<T> - Class in com.thoughtworks.proxy.toys.multicast
 
Multicasting.MulticastingWith<T> - Class in com.thoughtworks.proxy.toys.multicast
 
MulticastingInvoker<T> - 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<T>, 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<T> - Class in com.thoughtworks.proxy.kit
A Resetter that has no operation.
NoOperationResetter() - Constructor for class com.thoughtworks.proxy.kit.NoOperationResetter
 
Null<T> - Class in com.thoughtworks.proxy.toys.nullobject
Toy factory to create proxies acting as Null Objects.
Null.NullBuild<T> - Class in com.thoughtworks.proxy.toys.nullobject
 
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

ObjectReference<T> - 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<T> - Class in com.thoughtworks.proxy.toys.pool
A simple pool implementation that collects its unused components of a specific type automatically.
Pool(Class<T>) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
Construct an Pool using the StandardProxyFactory for elements that do not have to be resetted.
Pool(Class<T>, Resetter<? super T>) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
Construct an Pool using the StandardProxyFactory.
Pool(Class<T>, ProxyFactory) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
Construct a populated Pool with a specific proxy factory for elements that do not have to be resetted.
Pool(Class<T>, Resetter<? super T>, ProxyFactory) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
Construct a populated Pool with a specific proxy factory.
Pool(Class<T>, Resetter<? super T>, ProxyFactory, SerializationMode) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
Construct a populated Pool with a specific proxy factory and a serialization mode.
pool - Variable in class com.thoughtworks.proxy.toys.pool.Pool.PoolBuild
 
Pool.PoolBuild<T> - Class in com.thoughtworks.proxy.toys.pool
 
Pool.PoolingInvoker<T> - Class in com.thoughtworks.proxy.toys.pool
The Invoker of the proxy.
Pool.PoolingInvoker(Pool<T>, ProxyFactory, ObjectReference<T>, DelegationMode) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
Construct a PoolingInvoker.
Pool.PoolModeOrBuild<T> - Class in com.thoughtworks.proxy.toys.pool
 
Pool.PoolResettedBy<T> - Class in com.thoughtworks.proxy.toys.pool
 
Pool.PoolWith<T> - Class in com.thoughtworks.proxy.toys.pool
 
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.
Privileging<T> - Class in com.thoughtworks.proxy.toys.privilege
Toy factory to create proxies executing the method calls as privileged actions.
privileging - Variable in class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingBuild
 
Privileging.PrivilegingBuild<T> - Class in com.thoughtworks.proxy.toys.privilege
 
Privileging.PrivilegingExecutedByOrBuild<T> - Class in com.thoughtworks.proxy.toys.privilege
 
Privileging.PrivilegingWith<T> - Class in com.thoughtworks.proxy.toys.privilege
 
PrivilegingInvoker<T> - Class in com.thoughtworks.proxy.toys.privilege
Invoker that creates for the invoked method a PrivilegedExceptionAction and runs this action with the provided ActionExecutor.
PrivilegingInvoker(ProxyFactory, ObjectReference<T>, ActionExecutor) - Constructor for class com.thoughtworks.proxy.toys.privilege.PrivilegingInvoker
Construct the invoker.
PrivilegingInvoker(T, ActionExecutor) - Constructor for class com.thoughtworks.proxy.toys.privilege.PrivilegingInvoker
Construct the invoker.
PrivilegingInvoker(T) - Constructor for class com.thoughtworks.proxy.toys.privilege.PrivilegingInvoker
Construct the invoker using a AccessControllerExecutor.
proxy(Class<T>) - Static method in class com.thoughtworks.proxy.toys.decorate.Decorating
Creates a factory for proxy instances that allow decoration.
proxy(Class<T>, Class<?>...) - Static method in class com.thoughtworks.proxy.toys.decorate.Decorating
Creates a factory for proxy instances that allow decoration.
proxy(U) - Static method in class com.thoughtworks.proxy.toys.decorate.Decorating
Creates a factory for proxy instances that allow decoration.
proxy(U, Class<T>) - Static method in class com.thoughtworks.proxy.toys.decorate.Decorating
Creates a factory for proxy instances that allow decoration.
proxy(U, Class<T>, Class<?>...) - Static method in class com.thoughtworks.proxy.toys.decorate.Decorating
Creates a factory for proxy instances that allow decoration.
proxy(Class<T>) - Static method in class com.thoughtworks.proxy.toys.delegate.Delegating
Creates a factory for proxy instances that allow delegation.
proxy(Class<T>, Class<?>...) - Static method in class com.thoughtworks.proxy.toys.dispatch.Dispatching
Creates a builder for proxy instances that allow delegation.
proxy(Class<T>) - Static method in class com.thoughtworks.proxy.toys.echo.Echoing
Creates a factory for proxy instances that allow delegation.
proxy(Class<T>) - Static method in class com.thoughtworks.proxy.toys.failover.Failover
Creates a factory for proxy instances handling failover situations.
proxy(Class<T>, Class<?>...) - Static method in class com.thoughtworks.proxy.toys.failover.Failover
Creates a factory for proxy instances handling failover situations.
proxy(T...) - Static method in class com.thoughtworks.proxy.toys.failover.Failover
Creates a factory for proxy instances handling failover situations.
proxy(Class<T>) - Static method in class com.thoughtworks.proxy.toys.future.Future
Creates a proxy instance for asynchronous calls on a type.
proxy(Class<T>, Class<?>...) - Static method in class com.thoughtworks.proxy.toys.future.Future
Creates a proxy instance for asynchronous calls on a type.
proxy(T) - Static method in class com.thoughtworks.proxy.toys.future.Future
Creates a proxy instance for asynchronous calls on an object.
proxy(Class<T>) - Static method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
Creates a factory for proxy instances that allow the exchange of delegated instances.
proxy(Class<T>, Class<?>...) - Static method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
Creates a factory for proxy instances that allow the exchange of delegated instances.
proxy() - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
Create a proxy for this Invoker.
proxy(Class<T>, Class<?>...) - Static method in class com.thoughtworks.proxy.toys.multicast.Multicasting
Creates a factory for proxy instances delegating a call to multiple objects and managing the individual results.
proxy(Object...) - Static method in class com.thoughtworks.proxy.toys.multicast.Multicasting
Creates a factory for proxy instances delegating a call to multiple objects and managing the individual results.
proxy() - Method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
Create a proxy for this Invoker.
proxy(Class<T>) - Static method in class com.thoughtworks.proxy.toys.nullobject.Null
Creates a factory for proxy instances that is nullable.
proxy() - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
Create a proxy for the types of the pool.
proxy(Class<T>) - Static method in class com.thoughtworks.proxy.toys.privilege.Privileging
Creates a factory for proxy instances that allow a privileged execution of the methods of an object.
proxy(T) - Static method in class com.thoughtworks.proxy.toys.privilege.Privileging
Creates a factory for proxy instances that allow a privileged execution of the methods of an object.
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(T) - Method in class com.thoughtworks.proxy.toys.pool.Pool
Release a pool instance manually.
reset(T) - Method in class com.thoughtworks.proxy.kit.NoOperationResetter
Reset the pooled object.
reset(T) - Method in interface com.thoughtworks.proxy.kit.Resetter
Reset the pooled object.
resettedBy(Resetter<? super T>) - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolResettedBy
 
Resetter<T> - 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

SerializationMode - Enum in com.thoughtworks.proxy.toys.pool
The mode of serialization for pools.
set(T) - Method in interface com.thoughtworks.proxy.kit.ObjectReference
Assign an object to the reference.
set(T) - 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<T> - Class in com.thoughtworks.proxy.kit
Simple implementation for an ObjectReference.
SimpleReference(T) - 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.
StandardProxyFactory() - Constructor for class com.thoughtworks.proxy.factory.StandardProxyFactory
 
SubjectExecutor - Class in com.thoughtworks.proxy.toys.privilege
Execution of a PrivilegedExceptionAction with a Subject.
SubjectExecutor(Subject) - Constructor for class com.thoughtworks.proxy.toys.privilege.SubjectExecutor
Construct a SubjectExecutor that runs a PrivilegedExceptionAction with the Subject.doAs(Subject, PrivilegedExceptionAction) method.
SubjectExecutor(Subject, AccessControlContext) - Constructor for class com.thoughtworks.proxy.toys.privilege.SubjectExecutor
Construct a SubjectExecutor that runs a PrivilegedExceptionAction with the Subject.doAsPrivileged(Subject, PrivilegedExceptionAction, AccessControlContext) method.
Swappable - Interface in com.thoughtworks.proxy.toys.hotswap
Interface implemented by all proxy instances created by HotSwappingInvoker.

T

to(PrintWriter) - Method in class com.thoughtworks.proxy.toys.echo.Echoing.EchoingTo
Specify the printWriter.
toString - Static variable in class com.thoughtworks.proxy.kit.ReflectionUtils
the Object.toString() method.

V

valueOf(String) - Static method in enum com.thoughtworks.proxy.toys.delegate.DelegationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.thoughtworks.proxy.toys.pool.SerializationMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.thoughtworks.proxy.toys.delegate.DelegationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.thoughtworks.proxy.toys.pool.SerializationMode
Returns an array containing the constants of this enum type, in the order they are declared.
visiting(Decorator<T>) - Method in class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingVisitor
specify the visited decorator

W

with(T) - Method in class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingWith
specify the delegate
with(Object) - Method in class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingWith
With this delegate
with(Object...) - Method in class com.thoughtworks.proxy.toys.dispatch.Dispatching.DispatchingWith
Defines the object that shall be delegated to.
with(Object) - Method in class com.thoughtworks.proxy.toys.echo.Echoing.EchoingWithOrTo
Specify the delegate.
with(T...) - Method in class com.thoughtworks.proxy.toys.failover.Failover.FailoverWithOrExceptingOrBuild
With these delegates.
with(Object) - Method in class com.thoughtworks.proxy.toys.future.Future.FutureWith
Defines the object that shall be proxied.
with(Object) - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingWith
Defines the object that shall be proxied.
with(Object...) - Method in class com.thoughtworks.proxy.toys.multicast.Multicasting.MulticastingWith
With these target Objects
with(T...) - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolWith
 
with(Object) - Method in class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingWith
With this delegate.
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 V W

Copyright © 2005-2010 Codehaus. All Rights Reserved.