org.oddjob.beanbus
Class IterableDriver<T>

java.lang.Object
  extended by org.oddjob.beanbus.IterableDriver<T>
All Implemented Interfaces:
BusAware, Driver<T>

public class IterableDriver<T>
extends Object
implements Driver<T>, BusAware


Constructor Summary
IterableDriver()
           
 
Method Summary
 Iterable<T> getIterable()
           
 void go()
           
 void setBus(BeanBus driver)
           
 void setIterable(Iterable<T> iterable)
           
 void setTo(Destination<? super T> to)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IterableDriver

public IterableDriver()
Method Detail

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)