org.oddjob.beanbus
Class IterableDriver<T>
java.lang.Object
org.oddjob.beanbus.IterableDriver<T>
- All Implemented Interfaces:
- BusAware, Driver<T>
public class IterableDriver<T>
- extends Object
- implements Driver<T>, BusAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IterableDriver
public IterableDriver()
go
public void go()
throws BusException
- Specified by:
go in interface Driver<T>
- Throws:
BusException
setBus
public void setBus(BeanBus driver)
- Specified by:
setBus in interface BusAware
setTo
public void setTo(Destination<? super T> to)
- Specified by:
setTo in interface Driver<T>
stop
public void stop()
- Specified by:
stop in interface Driver<T>
getIterable
public Iterable<T> getIterable()
setIterable
public void setIterable(Iterable<T> iterable)