public class Dispatching
extends java.lang.Object
com.thoughtworks.proxy.toys.dispatch| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
object(java.lang.Class[] types,
java.lang.Object[] delegates)
Create a dispatching proxy of given types for the given objects.
|
static java.lang.Object |
object(java.lang.Class[] types,
java.lang.Object[] delegates,
ProxyFactory factory)
Create a dispatching proxy of given types for the given objects using a special ProxyFactory implementation.
|
public static java.lang.Object object(java.lang.Class[] types,
java.lang.Object[] delegates)
types - the types of the proxydelegates - the objects, that will receive the callspublic static java.lang.Object object(java.lang.Class[] types,
java.lang.Object[] delegates,
ProxyFactory factory)
types - the types of the proxydelegates - the objects, that will receive the callsfactory - the ProxyFactory to use