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) |
java.util.List<T> |
getBeans() |
int |
getCount() |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
void |
setBusConductor(BusConductor busConductor) |
add, getName, getTo, setName, setTo, toString
addAll, clear, contains, containsAll, remove, removeAll, retainAll, size, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
@Inject public void setBusConductor(BusConductor busConductor)
public java.util.List<T> getBeans()
public boolean isEmpty()
isEmpty
in interface java.util.Collection<T>
isEmpty
in class AbstractDestination<T>
public int getCount()