Package | Description |
---|---|
com.thoughtworks.proxy.kit |
Utility classes building the toys.
|
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.hotswap |
A toy to hot swap instances.
|
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 | Class and Description |
---|---|
class |
SimpleReference<T>
Simple implementation for an
ObjectReference . |
Modifier and Type | Method and Description |
---|---|
protected ObjectReference<T> |
DelegatingInvoker.getDelegateReference()
Retrieve the
ObjectReference of the delegate. |
Constructor and Description |
---|
DelegatingInvoker(ProxyFactory proxyFactory,
ObjectReference<T> delegateReference,
DelegationMode delegationMode)
Construct a DelegatingInvoker.
|
Constructor and Description |
---|
DispatchingInvoker(ProxyFactory proxyFactory,
Class<?>[] types,
ObjectReference<Object>[] delegateReferences)
Construct a DispatchingInvoker.
|
Constructor and Description |
---|
HotSwappingInvoker(Class<?>[] types,
ProxyFactory proxyFactory,
ObjectReference<Object> delegateReference,
DelegationMode delegationMode)
Construct a HotSwappingInvoker.
|
Constructor and Description |
---|
PoolingInvoker(Pool<T> pool,
ProxyFactory proxyFactory,
ObjectReference<T> delegateReference,
DelegationMode delegationMode)
Construct a PoolingInvoker.
|
Constructor and Description |
---|
PrivilegingInvoker(ProxyFactory proxyFactory,
ObjectReference<T> delegateReference,
ActionExecutor executor)
Construct the invoker.
|
Copyright © 2005–2021 Codehaus. All rights reserved.