T
- The type of the beans to be collected.public class BeanCapture<T> extends AbstractFilter<T,T>
BusFilter
that collects beans in a list.Constructor and Description |
---|
BeanCapture() |
Modifier and Type | Method and Description |
---|---|
protected T |
filter(T from) |
List<T> |
getBeans() |
int |
getCount() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
void |
setBusConductor(BusConductor busConductor) |
add, getName, getTo, setName, setTo, toString
addAll, clear, contains, containsAll, remove, removeAll, retainAll, size, toArray, toArray
@Inject public void setBusConductor(BusConductor busConductor)
public boolean isEmpty()
isEmpty
in interface Collection<T>
isEmpty
in class AbstractDestination<T>
public int getCount()