- 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
-
- 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.
- 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.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
-
- 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 - 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
-
- 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
-
- 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.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.
- 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.
- 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
-
- 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
-
- 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.
- 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
-
- Pool(Class<T>, Resetter<? super T>) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool
-
- 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
-
- 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
.
- PoolingInvoker(Pool<T>, ProxyFactory, ObjectReference<T>, DelegationMode) - Constructor for class com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
-
Construct a PoolingInvoker.
- PoolToyExample - Class in proxytoys.examples.overview
-
- PoolToyExample() - Constructor for class proxytoys.examples.overview.PoolToyExample
-
- 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
-
- 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
-
- PrivilegingToyExample - Class in proxytoys.examples.overview
-
- PrivilegingToyExample() - Constructor for class proxytoys.examples.overview.PrivilegingToyExample
-
- 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.
- ProxyFactoryExample - Class in proxytoys.examples.overview
-
- ProxyFactoryExample() - Constructor for class proxytoys.examples.overview.ProxyFactoryExample
-
- proxytoys.examples.overview - package proxytoys.examples.overview
-