T
- public class IterableBusDriver<T> extends AbstractBusComponent<T> implements java.lang.Runnable, Stoppable
BeanBus
.Constructor and Description |
---|
IterableBusDriver() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<? extends T> |
getBeans() |
int |
getCount() |
java.lang.String |
getName() |
void |
reset() |
void |
run() |
void |
setBeans(java.lang.Iterable<? extends T> iterable)
The beans to iterate over.
|
void |
setName(java.lang.String name) |
void |
stop()
Stop executing.
|
protected void |
stopTheBus()
Implementation override this to perform the action of
stopping the bus.
|
java.lang.String |
toString() |
accept, getServices, getTo, requestBusStop, setTo, startBus, stopBus
public void reset()
public void run()
run
in interface java.lang.Runnable
public void stop()
Stoppable
protected void stopTheBus()
AbstractBusComponent
stopTheBus
in class AbstractBusComponent<T>
public java.lang.Iterable<? extends T> getBeans()
public void setBeans(java.lang.Iterable<? extends T> iterable)
iterable
- public java.lang.String getName()
public void setName(java.lang.String name)
public int getCount()
public java.lang.String toString()
toString
in class java.lang.Object