org.axonframework.integration.adapter
Interface EventFilter

All Known Implementing Classes:
NoFilter

public interface EventFilter

Interface describing an Event Filter. The Event Filter decides which events may be forwarded by adapters and which should be blocked.

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.
 

Method Detail

accept

boolean accept(Class<?> payloadType)
Whether or not this filter allows an event of the given type to pass through or not.

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.