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