org.oddjob.beanbus
Class FilterSection<F,T>
java.lang.Object
org.oddjob.beanbus.FilterSection<F,T>
- All Implemented Interfaces:
- BusAware, Destination<F>, Section<F,T>
public class FilterSection<F,T>
- extends Object
- implements Section<F,T>, BusAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterSection
public FilterSection()
accept
public void accept(F bean)
throws BadBeanException,
CrashBusException
- Specified by:
accept in interface Destination<F>
- Throws:
BadBeanException
CrashBusException
getFilter
public Filter<? super F,? extends T> getFilter()
setFilter
public void setFilter(Filter<? super F,? extends T> filter)
getTo
public Destination<? super T> getTo()
setTo
public void setTo(Destination<? super T> receiver)
- Specified by:
setTo in interface Section<F,T>
setBus
public void setBus(BeanBus driver)
- Specified by:
setBus in interface BusAware