Package | Description |
---|---|
com.thoughtworks.proxy.toys.delegate |
A toy to delegate method calls to another object.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static DelegationMode |
DelegationMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DelegationMode[] |
DelegationMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Delegating.DelegatingBuild<T> |
Delegating.DelegatingModeOrBuild.mode(DelegationMode mode)
Forces a particular delegation mode to be used.
|
Constructor and Description |
---|
DelegatingInvoker(ProxyFactory proxyFactory,
ObjectReference<T> delegateReference,
DelegationMode delegationMode)
Construct a DelegatingInvoker.
|
Modifier and Type | Method and Description |
---|---|
HotSwapping.HotSwappingBuild<T> |
HotSwapping.HotSwappingBuildOrMode.mode(DelegationMode delegationMode)
Forces a particular delegation mode to be used.
|
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.
|
Copyright © 2005–2022 Codehaus. All rights reserved.