com.thoughtworks.proxy.toys.dispatch
Class Dispatching<T>
java.lang.Object
com.thoughtworks.proxy.toys.dispatch.Dispatching<T>
public class Dispatching<T>
- extends Object
Proxy factory for dispatching proxy instances.
- Since:
- 0.2
- Author:
- Jörg Schaible, Juan Li, Paul Hammant
- See Also:
com.thoughtworks.proxy.toys.dispatch
Method Summary |
static
|
proxy(Class<T> primaryType,
Class<?>... types)
Creates a builder for proxy instances that allow delegation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxy
public static <T> Dispatching.DispatchingWith<T> proxy(Class<T> primaryType,
Class<?>... types)
- Creates a builder for proxy instances that allow delegation.
- Parameters:
primaryType
- the primary type of the proxy that will not have to be cast totypes
- the other types of the proxy
- Returns:
- a builder that will proxy instances of the supplied type.
- Since:
- 1.0
Copyright © 2005-2010 Codehaus. All Rights Reserved.