public class Dispatching<T> extends Object
com.thoughtworks.proxy.toys.dispatch
Modifier and Type | Class and Description |
---|---|
static class |
Dispatching.DispatchingBuild<T> |
static class |
Dispatching.DispatchingWith<T> |
Modifier and Type | Method and Description |
---|---|
static <T> Dispatching.DispatchingWith<T> |
proxy(Class<T> primaryType,
Class<?>... types)
Creates a builder for proxy instances that allow delegation.
|
public static <T> Dispatching.DispatchingWith<T> proxy(Class<T> primaryType, Class<?>... types)
primaryType
- the primary type of the proxy that will not have to be cast totypes
- the other types of the proxyCopyright © 2005–2021 Codehaus. All rights reserved.