Package | Description |
---|---|
com.thoughtworks.proxy |
An implementation neutral API for creation of dynamic proxies.
|
com.thoughtworks.proxy.factory |
Different implementations of the ProxyFactory interface.
|
com.thoughtworks.proxy.kit |
Utility classes building the toys.
|
com.thoughtworks.proxy.toys.decorate |
A toy to decorate the interaction with another object.
|
com.thoughtworks.proxy.toys.delegate |
A toy to delegate method calls to another object.
|
com.thoughtworks.proxy.toys.dispatch |
A toy to dispatch method calls to different objects.
|
com.thoughtworks.proxy.toys.failover |
A toy to handle failover situations.
|
com.thoughtworks.proxy.toys.future |
A toy to delay method execution into future.
|
com.thoughtworks.proxy.toys.hotswap |
A toy to hot swap instances.
|
com.thoughtworks.proxy.toys.multicast |
A toy to perform a single call on multiple objects and manage the
results.
|
com.thoughtworks.proxy.toys.nullobject |
A toy to create dummy null objects with intelligent behavior.
|
com.thoughtworks.proxy.toys.pool |
A toy to create object pools based on proxies.
|
com.thoughtworks.proxy.toys.privilege |
A toy to run method calls as privileged actions.
|
Modifier and Type | Method and Description |
---|---|
Invoker |
ProxyFactory.getInvoker(Object proxy)
Retrieve the invocation handler of the proxy.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ProxyFactory.createProxy(Invoker invoker,
Class<?>... types)
Create a new proxy instance.
|
Modifier and Type | Method and Description |
---|---|
Invoker |
InvokerReference.getInvoker()
Retrieve the Invoker instance from the proxy.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
CglibProxyFactory.createProxy(Invoker invoker,
Class<?>... types)
Create a new proxy instance.
|
<T> T |
StandardProxyFactory.createProxy(Invoker invoker,
Class<?>... types) |
Modifier and Type | Class and Description |
---|---|
class |
PrivateInvoker
An Invoker that is able to call protected and private methods.
|
class |
SimpleInvoker
A simple
Invoker implementation, that routes any call to a target object. |
Modifier and Type | Class and Description |
---|---|
class |
DecoratingInvoker<T>
Invoker implementation for the decorating proxy.
|
Constructor and Description |
---|
DecoratingInvoker(Invoker decorated,
Decorator<T> decorator)
Construct a DecoratingInvoker decorating another Invoker.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingInvoker<T>
Invoker that delegates method calls to an object.
|
Modifier and Type | Class and Description |
---|---|
class |
DispatchingInvoker
Invoker that dispatches all invocations to different objects according the membership of the method.
|
Modifier and Type | Class and Description |
---|---|
class |
FailoverInvoker<T>
Invoker that implements a failover strategy by using different delegates in
case of an exception. |
Modifier and Type | Class and Description |
---|---|
class |
FutureInvoker
Invoker that implements transparent asynchronous
method calls. |
Modifier and Type | Class and Description |
---|---|
class |
HotSwappingInvoker<T>
A
DelegatingInvoker implementation that allows the exchange of the delegate. |
Modifier and Type | Class and Description |
---|---|
class |
MulticastingInvoker<T>
A
Invoker implementation that multicasts calls to multiple targets. |
Modifier and Type | Class and Description |
---|---|
class |
NullInvoker
A
Invoker implementation that returns always new Null objects. |
Modifier and Type | Class and Description |
---|---|
protected static class |
Pool.PoolingInvoker<T>
The
Invoker of the proxy. |
Modifier and Type | Class and Description |
---|---|
class |
PrivilegingInvoker<T>
Invoker that creates for the invoked method a
PrivilegedExceptionAction and runs this action with the provided
ActionExecutor . |
Copyright © 2005–2019 Codehaus. All rights reserved.