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
Swappable
Swappable
com.thoughtworks.proxy.toys.hotswap
public 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
Swappable
factory
- the ProxyFactory
to use.Swappable
com.thoughtworks.proxy.toys.hotswap
Copyright © 2005–2016 Codehaus. All rights reserved.