public class Multicasting<T> extends Object
com.thoughtworks.proxy.toys.multicast
Modifier and Type | Class and Description |
---|---|
static class |
Multicasting.MulticastingBuild<T> |
static class |
Multicasting.MulticastingWith<T> |
Modifier and Type | Method and Description |
---|---|
static <T> Multicasting.MulticastingWith<T> |
proxy(Class<T> primaryType,
Class<?>... types)
Creates a factory for proxy instances delegating a call to multiple objects and managing the individual results.
|
static Multicasting.MulticastingBuild<Multicast> |
proxy(Object... targets)
Creates a factory for proxy instances delegating a call to multiple objects and managing the individual results.
|
public static <T> Multicasting.MulticastingWith<T> proxy(Class<T> primaryType, Class<?>... types)
primaryType
- the primary type implemented by the proxytypes
- other types that are implemented by the proxypublic static Multicasting.MulticastingBuild<Multicast> proxy(Object... targets)
targets
- targets the target objectsCopyright © 2005–2015 Codehaus. All rights reserved.