public class HotSwapping<T> extends Object
Swappable
, that is used for the hot swap operation.com.thoughtworks.proxy.toys.hotswap
Modifier and Type | Class and Description |
---|---|
static class |
HotSwapping.HotSwappingBuild<T> |
static class |
HotSwapping.HotSwappingBuildOrMode<T> |
static class |
HotSwapping.HotSwappingWith<T> |
Modifier and Type | Method and Description |
---|---|
static <T> HotSwapping.HotSwappingWith<T> |
proxy(Class<T> type)
Creates a factory for proxy instances that allow the exchange of delegated instances.
|
static <T> HotSwapping.HotSwappingWith<T> |
proxy(Class<T> primaryType,
Class<?>... types)
Creates a factory for proxy instances that allow the exchange of delegated instances.
|
public static <T> HotSwapping.HotSwappingWith<T> proxy(Class<T> type)
type
- the type of the proxy when it is finally created.public static <T> HotSwapping.HotSwappingWith<T> proxy(Class<T> primaryType, Class<?>... types)
primaryType
- the primary type implemented by the proxytypes
- other types that are implemented by the proxyCopyright © 2005–2019 Codehaus. All rights reserved.