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

A

AbstractProxyFactory - Class in com.thoughtworks.proxy.factory
An abstract implementation of a ProxyFactory.
AbstractProxyFactory() - Constructor for class com.thoughtworks.proxy.factory.AbstractProxyFactory
 
AbstractProxyFactory.CoincidentalInvocationHandlerAdapter - Class in com.thoughtworks.proxy.factory
Generic implementation of a invocation handler with a JDK compatible method and signature.
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.
addBytes(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
addChars(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
addDoubles(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
addFloats(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
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.
addIntegers(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
addLongs(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
addShorts(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
andBooleans(Object[]) - Static method in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
availableInstances - Variable in class com.thoughtworks.proxy.toys.pool.Pool
 

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(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.dispatch.Dispatching
 
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(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
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.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
 
build(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.multicast.Multicasting
 
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(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.nullobject.Null
 
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.
buildWithNoTypesInput(ProxyFactory) - Method in class com.thoughtworks.proxy.toys.multicast.Multicasting
 
busyInstances - Variable in class com.thoughtworks.proxy.toys.pool.Pool
 

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.
CGLIBInvocationHandlerAdapter(Invoker) - Constructor for class com.thoughtworks.proxy.factory.CglibProxyFactory.CGLIBInvocationHandlerAdapter
Construct a CGLIBInvocationHandlerAdapter.
CglibProxyFactory - Class in com.thoughtworks.proxy.factory
A ProxyFactory based on CGLIB.
CglibProxyFactory() - Constructor for class com.thoughtworks.proxy.factory.CglibProxyFactory
 
CglibProxyFactory.CGLIBInvocationHandlerAdapter - Class in com.thoughtworks.proxy.factory
The native invocation handler.
CglibProxyFactory.ForeignPackageNamingPolicy - Class in com.thoughtworks.proxy.factory
 
checkForCycle - Static variable in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
checkForCycle() - Method in interface com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker.CycleCheck
Checks for a cyclic swap action.
CoincidentalInvocationHandlerAdapter(Invoker) - Constructor for class com.thoughtworks.proxy.factory.AbstractProxyFactory.CoincidentalInvocationHandlerAdapter
Construct a CoincidentalInvocationHandlerAdapter.
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.
context - Variable in class com.thoughtworks.proxy.toys.privilege.AccessControllerExecutor
 
context - Variable in class com.thoughtworks.proxy.toys.privilege.SubjectExecutor
 
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.
createWithConstructor(Class<?>, Enhancer) - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
current - Variable in class com.thoughtworks.proxy.toys.failover.FailoverInvoker
 
cycleGuard - Static variable in class com.thoughtworks.proxy.factory.CglibProxyFactory
 

D

decorated - Variable in class com.thoughtworks.proxy.toys.decorate.DecoratingInvoker
 
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
 
DecorateToyExample - Class in proxytoys.examples.overview
 
DecorateToyExample() - Constructor for class proxytoys.examples.overview.DecorateToyExample
 
Decorating<U,T> - Class in com.thoughtworks.proxy.toys.decorate
Toy factory to create proxies decorating an object in an AOP style.
Decorating(U, Class<T>, Class<?>...) - Constructor for class com.thoughtworks.proxy.toys.decorate.Decorating
 
decorating - Variable in class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingBuild
 
decorating - Variable in class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingVisitor
 
decorating - Variable in class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingWith
 
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
 
DecoratingBuild(Decorating<U, T>) - Constructor for class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingBuild
 
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.
DecoratingVisitor(Decorating<U, T>) - Constructor for class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingVisitor
 
DecoratingWith(Decorating<T, T>) - Constructor for class com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingWith
 
decorator - Variable in class com.thoughtworks.proxy.toys.decorate.Decorating
 
decorator - Variable in class com.thoughtworks.proxy.toys.decorate.DecoratingInvoker
 
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 - Variable in class com.thoughtworks.proxy.toys.decorate.Decorating
 
delegate - Variable in class com.thoughtworks.proxy.toys.delegate.Delegating
 
delegate() - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Retrieve the delegated object in derived classes.
delegate - Variable in exception com.thoughtworks.proxy.toys.delegate.DelegationException
 
delegate - Variable in class com.thoughtworks.proxy.toys.echo.Echoing
 
delegate - Variable in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
delegate() - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
delegate - Variable in class com.thoughtworks.proxy.toys.privilege.Privileging
 
delegateReference - Variable in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
 
delegates - Variable in class com.thoughtworks.proxy.toys.dispatch.Dispatching
 
delegates - Variable in class com.thoughtworks.proxy.toys.failover.Failover
 
delegates - Variable in class com.thoughtworks.proxy.toys.failover.FailoverInvoker
 
delegates - Variable in class com.thoughtworks.proxy.toys.multicast.Multicasting
 
DelegateToyExample - Class in proxytoys.examples.overview
 
DelegateToyExample() - Constructor for class proxytoys.examples.overview.DelegateToyExample
 
Delegating<T> - Class in com.thoughtworks.proxy.toys.delegate
Toy factory to create proxies delegating to another object.
Delegating(Class<T>) - Constructor for class com.thoughtworks.proxy.toys.delegate.Delegating
 
delegating - Variable in class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingBuild
 
delegating - Variable in class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingWith
 
delegating - Variable in class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingWith
 
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
 
DelegatingBuild(Delegating<T>) - Constructor for class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingBuild
 
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.
DelegatingModeOrBuild(Delegating<T>) - Constructor for class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingModeOrBuild
 
DelegatingWith(Delegating<T>) - Constructor for class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingWith
 
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 - Variable in class com.thoughtworks.proxy.toys.delegate.Delegating
 
delegationMode - Variable in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
 
DelegationMode - Enum in com.thoughtworks.proxy.toys.delegate
Indicates the preferred way to delegate to created proxies.
DelegationMode() - Constructor for enum com.thoughtworks.proxy.toys.delegate.DelegationMode
 
delegationMode - Variable in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
 
DirectExecutor - Class in com.thoughtworks.proxy.toys.privilege
Direct execution of a PrivilegedExceptionAction.
DirectExecutor() - Constructor for class com.thoughtworks.proxy.toys.privilege.DirectExecutor
 
DispatcherToyExample - Class in proxytoys.examples.overview
 
DispatcherToyExample() - Constructor for class proxytoys.examples.overview.DispatcherToyExample
 
Dispatching<T> - Class in com.thoughtworks.proxy.toys.dispatch
Proxy factory for dispatching proxy instances.
Dispatching(Class<?>[]) - Constructor for class com.thoughtworks.proxy.toys.dispatch.Dispatching
 
dispatching - Variable in class com.thoughtworks.proxy.toys.dispatch.Dispatching.DispatchingBuild
 
dispatching - Variable in class com.thoughtworks.proxy.toys.dispatch.Dispatching.DispatchingWith
 
Dispatching.DispatchingBuild<T> - Class in com.thoughtworks.proxy.toys.dispatch
 
Dispatching.DispatchingWith<T> - Class in com.thoughtworks.proxy.toys.dispatch
 
DispatchingBuild(Dispatching<T>) - Constructor for class com.thoughtworks.proxy.toys.dispatch.Dispatching.DispatchingBuild
 
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.
DispatchingWith(Class<T>, Class<?>[]) - Constructor for class com.thoughtworks.proxy.toys.dispatch.Dispatching.DispatchingWith
 

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(Class<T>) - Constructor for class com.thoughtworks.proxy.toys.echo.Echoing
 
echoing - Variable in class com.thoughtworks.proxy.toys.echo.Echoing.EchoingBuild
 
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
 
EchoingBuild(Echoing<T>) - Constructor for class com.thoughtworks.proxy.toys.echo.Echoing.EchoingBuild
 
EchoingTo(Echoing<T>) - Constructor for class com.thoughtworks.proxy.toys.echo.Echoing.EchoingTo
 
EchoingWithOrTo(Echoing<T>) - Constructor for class com.thoughtworks.proxy.toys.echo.Echoing.EchoingWithOrTo
 
EchoToyExample - Class in proxytoys.examples.overview
 
EchoToyExample() - Constructor for class proxytoys.examples.overview.EchoToyExample
 
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.
exceptionClass - Variable in class com.thoughtworks.proxy.toys.failover.Failover
 
exceptionClass - Variable in class com.thoughtworks.proxy.toys.failover.FailoverInvoker
 
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
 
executed - Variable in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
executedBy(ActionExecutor) - Method in class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingExecutedByOrBuild
Executed with this action executor.
executor - Variable in class com.thoughtworks.proxy.toys.future.FutureInvoker
 
executor - Variable in class com.thoughtworks.proxy.toys.privilege.Privileging
 
executor - Variable in class com.thoughtworks.proxy.toys.privilege.PrivilegingInvoker
 

F

factory - Variable in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
factory - Variable in class com.thoughtworks.proxy.toys.pool.Pool
 
Failover<T> - Class in com.thoughtworks.proxy.toys.failover
Factory for proxy instances handling failover.
Failover(Class<T>, Class<?>...) - Constructor for class com.thoughtworks.proxy.toys.failover.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
 
FailoverBuild(Failover<T>) - Constructor for class com.thoughtworks.proxy.toys.failover.Failover.FailoverBuild
 
FailoverExceptingOrBuild(Failover<T>) - Constructor for class com.thoughtworks.proxy.toys.failover.Failover.FailoverExceptingOrBuild
 
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.
FailoverToyExample - Class in proxytoys.examples.overview
 
FailoverToyExample() - Constructor for class proxytoys.examples.overview.FailoverToyExample
 
FailoverWithOrExceptingOrBuild(Failover<T>) - Constructor for class com.thoughtworks.proxy.toys.failover.Failover.FailoverWithOrExceptingOrBuild
 
ForeignPackageNamingPolicy() - Constructor for class com.thoughtworks.proxy.factory.CglibProxyFactory.ForeignPackageNamingPolicy
 
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(Class<?>[]) - Constructor for class com.thoughtworks.proxy.toys.future.Future
 
future - Variable in class com.thoughtworks.proxy.toys.future.Future.FutureBuild
 
future - Variable in class com.thoughtworks.proxy.toys.future.Future.FutureWith
 
Future.FutureBuild<T> - Class in com.thoughtworks.proxy.toys.future
 
Future.FutureWith<T> - Class in com.thoughtworks.proxy.toys.future
 
FutureBuild(Future<T>) - Constructor for class com.thoughtworks.proxy.toys.future.Future.FutureBuild
 
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.
FutureToyExample - Class in proxytoys.examples.overview
 
FutureToyExample() - Constructor for class proxytoys.examples.overview.FutureToyExample
 
FutureToyExample.SlowInputSource - Class in proxytoys.examples.overview
 
FutureWith(Future<T>) - Constructor for class com.thoughtworks.proxy.toys.future.Future.FutureWith
 

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.
getCharacterStream() - Method in class proxytoys.examples.overview.FutureToyExample.SlowInputSource
 
getClassName(String, String, Object, Predicate) - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory.ForeignPackageNamingPolicy
 
getConstructor(Class<?>) - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
getDataInput(File) - Static method in class proxytoys.examples.overview.DelegateToyExample
 
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.
getInterfaces(Class<?>[]) - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
getInterfaces(Class<?>, Set<Class<?>>) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
 
getInvoker - Static variable in class com.thoughtworks.proxy.factory.AbstractProxyFactory
The getInvoker method.
getInvoker(Object) - Method in class com.thoughtworks.proxy.factory.AbstractProxyFactory
Retrieve the invocation handler of the proxy.
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.
getPoolInstance() - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
 
getProxyFactory() - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
Retrieve the ProxyFactory to use.
getSingleClass(Class<?>[]) - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
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.
getTargetsInArray - Static variable in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
getTargetsInTypedArray - Static variable in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
getType() - Method in exception com.thoughtworks.proxy.toys.dispatch.DispatchingException
Returns the offending type.
getType(Object) - Method in class com.thoughtworks.proxy.toys.nullobject.NullInvoker
 

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 - Static variable in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
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(Class<T>, Class<?>...) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwapping
 
hotswapping - Variable in class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuild
 
hotswapping - Variable in class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingWith
 
HotSwapping.HotSwappingBuild<T> - Class in com.thoughtworks.proxy.toys.hotswap
 
HotSwapping.HotSwappingBuildOrMode<T> - Class in com.thoughtworks.proxy.toys.hotswap
 
HotSwapping.HotSwappingWith<T> - Class in com.thoughtworks.proxy.toys.hotswap
 
HotSwappingBuild(HotSwapping<T>) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuild
 
HotSwappingBuildOrMode(HotSwapping<T>) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuildOrMode
 
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.
HotSwappingWith(HotSwapping<T>) - Constructor for class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingWith
 
HotSwapToyExample - Class in proxytoys.examples.overview
 
HotSwapToyExample() - Constructor for class proxytoys.examples.overview.HotSwapToyExample
 

I

instance - Variable in class com.thoughtworks.proxy.kit.SimpleReference
 
instance - Variable in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
 
invoke(Object, Method, Object[]) - Method in class com.thoughtworks.proxy.factory.AbstractProxyFactory.CoincidentalInvocationHandlerAdapter
Invoke a method on an object.
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 - Variable in class com.thoughtworks.proxy.factory.AbstractProxyFactory.CoincidentalInvocationHandlerAdapter
 
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.
invokers - Variable in class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
 
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.
isNullProxyObject(Object, ProxyFactory) - Static method in class com.thoughtworks.proxy.toys.nullobject.Null
 
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.
isStandardNullObject(Object) - Static method in class com.thoughtworks.proxy.toys.nullobject.Null
 

L

listExample() - Static method in class proxytoys.examples.overview.NullToyExample
 

M

main(String[]) - Static method in class proxytoys.examples.overview.DecorateToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.DelegateToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.DispatcherToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.EchoToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.FailoverToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.FutureToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.HotSwapToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.MulticastToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.NullToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.PoolToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.PrivilegingToyExample
 
main(String[]) - Static method in class proxytoys.examples.overview.ProxyFactoryExample
 
makeTypesArray(Class<?>, Class<?>[]) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Create an array of types.
methodCache - Variable in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
 
methodSets - Variable in class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
 
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(Object...) - Constructor for class com.thoughtworks.proxy.toys.multicast.Multicasting
 
Multicasting(Class<?>, Class<?>...) - Constructor for class com.thoughtworks.proxy.toys.multicast.Multicasting
 
multicasting - Variable in class com.thoughtworks.proxy.toys.multicast.Multicasting.MulticastingBuild
 
multicasting - Variable in class com.thoughtworks.proxy.toys.multicast.Multicasting.MulticastingWith
 
Multicasting.MulticastingBuild<T> - Class in com.thoughtworks.proxy.toys.multicast
 
Multicasting.MulticastingWith<T> - Class in com.thoughtworks.proxy.toys.multicast
 
MulticastingBuild(Object[]) - Constructor for class com.thoughtworks.proxy.toys.multicast.Multicasting.MulticastingBuild
 
MulticastingBuild(Multicasting<T>) - Constructor for class com.thoughtworks.proxy.toys.multicast.Multicasting.MulticastingBuild
 
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.
MulticastingWith(Class<T>, Class<?>[]) - Constructor for class com.thoughtworks.proxy.toys.multicast.Multicasting.MulticastingWith
 
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.
multicastTargetsDirect - Static variable in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
multicastTargetsIndirect - Static variable in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
MulticastToyExample - Class in proxytoys.examples.overview
 
MulticastToyExample() - Constructor for class proxytoys.examples.overview.MulticastToyExample
 

N

namingPolicy - Variable in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
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(Class<T>) - Constructor for class com.thoughtworks.proxy.toys.nullobject.Null
 
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.
NullBuild(Null<T>) - Constructor for class com.thoughtworks.proxy.toys.nullobject.Null.NullBuild
 
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.
nullObject - Variable in class com.thoughtworks.proxy.toys.nullobject.Null.NullBuild
 
nullObjectIsSerializable() - Method in class com.thoughtworks.proxy.toys.nullobject.NullInvoker
 
NullToyExample - Class in proxytoys.examples.overview
 
NullToyExample() - Constructor for class proxytoys.examples.overview.NullToyExample
 

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).
out - Variable in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 

P

packageOverviewExample1() - Static method in class proxytoys.examples.overview.DecorateToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.DelegateToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.DispatcherToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.EchoToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.FailoverToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.FutureToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.HotSwapToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.MulticastToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.NullToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.PoolToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.PrivilegingToyExample
 
packageOverviewExample1() - Static method in class proxytoys.examples.overview.ProxyFactoryExample
 
packageOverviewExample2() - Static method in class proxytoys.examples.overview.DecorateToyExample
 
packageOverviewExample2() - Static method in class proxytoys.examples.overview.DelegateToyExample
 
packageOverviewExample2() - Static method in class proxytoys.examples.overview.DispatcherToyExample
 
packageOverviewExample2() - Static method in class proxytoys.examples.overview.FailoverToyExample
 
packageOverviewExample2() - Static method in class proxytoys.examples.overview.MulticastToyExample
 
packageOverviewExample3() - Static method in class proxytoys.examples.overview.MulticastToyExample
 
packageOverviewExample4() - Static method in class proxytoys.examples.overview.MulticastToyExample
 
packageOverviewExample5() - Static method in class proxytoys.examples.overview.MulticastToyExample
 
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() - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
 
pool - Variable in class com.thoughtworks.proxy.toys.pool.Pool.PoolBuild
 
pool - Variable in class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
 
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.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.
PoolBuild(Pool<T>) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool.PoolBuild
 
PoolingInvoker(Pool<T>, ProxyFactory, ObjectReference<T>, DelegationMode) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
Construct a PoolingInvoker.
PoolModeOrBuild(Pool<T>) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool.PoolModeOrBuild
 
PoolResettedBy(Pool<T>) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool.PoolResettedBy
 
PoolToyExample - Class in proxytoys.examples.overview
 
PoolToyExample() - Constructor for class proxytoys.examples.overview.PoolToyExample
 
PoolWith(Pool<T>) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool.PoolWith
 
printInvocationException(Throwable) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
printMethodCall(Method, Object[]) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
printMethodResult(Object) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
printTargetException(Throwable) - Method in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
printWriter - Variable in class com.thoughtworks.proxy.toys.echo.Echoing
 
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(Class<T>) - Constructor for class com.thoughtworks.proxy.toys.privilege.Privileging
 
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
 
PrivilegingBuild(Privileging<T>) - Constructor for class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingBuild
 
PrivilegingExecutedByOrBuild(Privileging<T>) - Constructor for class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingExecutedByOrBuild
 
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.
PrivilegingToyExample - Class in proxytoys.examples.overview
 
PrivilegingToyExample() - Constructor for class proxytoys.examples.overview.PrivilegingToyExample
 
PrivilegingWith(Privileging<T>) - Constructor for class com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingWith
 
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.
proxyFactory - Variable in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
 
proxyFactory - Variable in class com.thoughtworks.proxy.toys.future.FutureInvoker
 
proxyFactory - Variable in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
proxyFactory - Variable in class com.thoughtworks.proxy.toys.nullobject.NullInvoker
 
ProxyFactoryExample - Class in proxytoys.examples.overview
 
ProxyFactoryExample() - Constructor for class proxytoys.examples.overview.ProxyFactoryExample
 
proxytoys.examples.overview - package proxytoys.examples.overview
 

R

readMethod(ObjectInputStream) - Static method in class com.thoughtworks.proxy.kit.ReflectionUtils
Read a Method from an ObjectInputStream.
readObject(ObjectInputStream) - Method in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
 
readObject(ObjectInputStream) - Method in class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
 
readObject(ObjectInputStream) - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
readObject(ObjectInputStream) - Method in class com.thoughtworks.proxy.toys.pool.Pool
 
readResolve() - Method in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
ReflectionUtils - Class in com.thoughtworks.proxy.kit
Helper class for introspecting interface and class hierarchies.
ReflectionUtils() - Constructor for class com.thoughtworks.proxy.kit.ReflectionUtils
Constructor.
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.
resetter - Variable in class com.thoughtworks.proxy.toys.pool.Pool
 
returnInstanceToPool() - Method in class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
Return the current instance to the pool.
returnInstanceToPool - Static variable in class com.thoughtworks.proxy.toys.pool.Pool
 
returnInstanceToPool(ObjectReference<T>) - Method in class com.thoughtworks.proxy.toys.pool.Pool
 
returnInstanceToPool() - Method in interface com.thoughtworks.proxy.toys.pool.Poolable
Return the managed instance of this proxy directly to its pool.

S

serializationMode - Variable in class com.thoughtworks.proxy.toys.pool.Pool
 
SerializationMode - Enum in com.thoughtworks.proxy.toys.pool
The mode of serialization for pools.
SerializationMode() - Constructor for enum com.thoughtworks.proxy.toys.pool.SerializationMode
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.factory.AbstractProxyFactory.CoincidentalInvocationHandlerAdapter
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.factory.AbstractProxyFactory
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.factory.CglibProxyFactory.CGLIBInvocationHandlerAdapter
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.factory.StandardProxyFactory
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.factory.StandardProxyFactory.StandardInvocationHandlerAdapter
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.kit.NoOperationResetter
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.kit.PrivateInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.kit.SimpleInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.kit.SimpleReference
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.decorate.DecoratingInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.decorate.Decorator
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker
 
serialVersionUID - Static variable in exception com.thoughtworks.proxy.toys.delegate.DelegationException
 
serialVersionUID - Static variable in exception com.thoughtworks.proxy.toys.dispatch.DispatchingException
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.echo.EchoDecorator
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.failover.FailoverInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.future.FutureInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.nullobject.NullInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.pool.Pool
 
serialVersionUID - Static variable in class com.thoughtworks.proxy.toys.privilege.PrivilegingInvoker
 
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.
SlowInputSource(Reader) - Constructor for class proxytoys.examples.overview.FutureToyExample.SlowInputSource
 
StandardInvocationHandlerAdapter(Invoker) - Constructor for class com.thoughtworks.proxy.factory.StandardProxyFactory.StandardInvocationHandlerAdapter
Construct a StandardInvocationHandlerAdapter.
standardProxyFactory - Static variable in class com.thoughtworks.proxy.factory.CglibProxyFactory
 
StandardProxyFactory - Class in com.thoughtworks.proxy.factory
A ProxyFactory based on a JDK.
StandardProxyFactory() - Constructor for class com.thoughtworks.proxy.factory.StandardProxyFactory
 
StandardProxyFactory.StandardInvocationHandlerAdapter - Class in com.thoughtworks.proxy.factory
The native InvocationHandler implementation.
subject - Variable in class com.thoughtworks.proxy.toys.privilege.SubjectExecutor
 
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

target - Variable in class com.thoughtworks.proxy.kit.SimpleInvoker
 
target - Variable in class com.thoughtworks.proxy.toys.future.Future
 
target - Variable in class com.thoughtworks.proxy.toys.future.FutureInvoker
 
targets - Variable in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
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.
toString - Static variable in class com.thoughtworks.proxy.toys.nullobject.NullInvoker
 
toStringMethods - Variable in class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
 
type - Variable in class com.thoughtworks.proxy.toys.delegate.Delegating
 
type - Variable in exception com.thoughtworks.proxy.toys.dispatch.DispatchingException
 
type - Variable in class com.thoughtworks.proxy.toys.echo.Echoing
 
type - Variable in class com.thoughtworks.proxy.toys.nullobject.Null
 
type - Variable in class com.thoughtworks.proxy.toys.nullobject.NullInvoker
 
type - Variable in class com.thoughtworks.proxy.toys.privilege.Privileging
 
types - Variable in class com.thoughtworks.proxy.toys.decorate.Decorating
 
types - Variable in class com.thoughtworks.proxy.toys.dispatch.Dispatching
 
types - Variable in class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
 
types - Variable in class com.thoughtworks.proxy.toys.failover.Failover
 
types - Variable in class com.thoughtworks.proxy.toys.future.Future
 
types - Variable in class com.thoughtworks.proxy.toys.hotswap.HotSwapping
 
types - Variable in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
types - Variable in class com.thoughtworks.proxy.toys.multicast.Multicasting
 
types - Variable in class com.thoughtworks.proxy.toys.multicast.MulticastingInvoker
 
types - Variable in class com.thoughtworks.proxy.toys.pool.Pool
 

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.
writeObject(ObjectOutputStream) - Method in class com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker
 
writeObject(ObjectOutputStream) - Method in class com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker
 
writeObject(ObjectOutputStream) - Method in class com.thoughtworks.proxy.toys.nullobject.NullInvoker
 
writeObject(ObjectOutputStream) - Method in class com.thoughtworks.proxy.toys.pool.Pool
 
A B C D E F G H I L M N O P R S T V W 
Skip navigation links