org.axonframework.integration.adapter
Class NoFilter
java.lang.Object
  
org.axonframework.integration.adapter.NoFilter
- All Implemented Interfaces: 
 - EventFilter
 
public class NoFilter
- extends Object
- implements EventFilter
  
- Since:
 
  - 0.4
 
- Author:
 
  - Allard Buijze
 
 
| 
Method Summary | 
 boolean | 
accept(Class<?> payloadType)
 
          Whether or not this filter allows an event of the given type to pass through or not. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NoFilter
public NoFilter()
accept
public boolean accept(Class<?> payloadType)
- Whether or not this filter allows an event of the given type to pass through or not.
- Specified by:
 accept in interface EventFilter
 
- Parameters:
 payloadType - The actual type of payload in the event.
- Returns:
 true if this event should be forwarded, false otherwise.
 
 
Copyright © 2010-2016. All Rights Reserved.