org.axonframework.springmessaging.adapter
Class NoFilter

java.lang.Object
  extended by org.axonframework.springmessaging.adapter.NoFilter
All Implemented Interfaces:
EventFilter

public class NoFilter
extends Object
implements EventFilter

Since:
2.3.1
Author:
Allard Buijze

Constructor Summary
NoFilter()
           
 
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
 

Constructor Detail

NoFilter

public NoFilter()
Method Detail

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.