org.omnaest.utils.dispatcher
Class ProxyDispatcherFactory<T>
java.lang.Object
org.omnaest.utils.dispatcher.ProxyDispatcherFactory<T>
- Type Parameters:
T -
public class ProxyDispatcherFactory<T>
- extends Object
A ProxyDispatcherFactory generates a proxy which will dispatch to a given List of instances implementing the
same shared type
- Author:
- Omnaest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyDispatcherFactory
public ProxyDispatcherFactory(Class<? extends T> type)
newDispatcher
public T newDispatcher(List<? extends T> instanceList)
setExceptionHandler
public ProxyDispatcherFactory<T> setExceptionHandler(ExceptionHandler exceptionHandler)
- Parameters:
exceptionHandler - ExceptionHandler
- Returns:
- this
Copyright © 2013. All Rights Reserved.