public static class HotSwapping.HotSwappingBuild<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HotSwapping<T> |
hotswapping |
| Constructor and Description |
|---|
HotSwappingBuild(HotSwapping<T> hotswapping) |
| Modifier and Type | Method and Description |
|---|---|
T |
build()
Create a proxy with hot swapping capabilities for specific types of the delegate given with an
ObjectReference. |
T |
build(ProxyFactory factory)
Create a proxy with hot swapping capabilities for specific types of the delegate given with an
ObjectReference. |
protected final HotSwapping<T> hotswapping
public HotSwappingBuild(HotSwapping<T> hotswapping)
public T build()
ObjectReference. The delegate must implement the given types, if the invoker is in static typing mode,
otherwise it must only have signature compatible methods. Proxies created by this method will implement
SwappableSwappablecom.thoughtworks.proxy.toys.hotswappublic T build(ProxyFactory factory)
ObjectReference. The delegate must implement the given types, if the invoker is in static typing mode,
otherwise it must only have signature compatible methods. Proxies created by this method will implement
Swappablefactory - the ProxyFactory to use.Swappablecom.thoughtworks.proxy.toys.hotswapCopyright © 2005–2018 Codehaus. All rights reserved.