net.sf.doolin.bus
Interface SubscriberTrigger<M>

All Known Subinterfaces:
Subscriber<M>
All Known Implementing Classes:
AbstractSubscriber, BothWayPropertyChangeSubscriber, PropertyChangeSubscriber, SubscriberAdapter

public interface SubscriberTrigger<M>

Trigger for a subscriber.

Author:
Damien Coraboeuf

Method Summary
 boolean accept(M message)
          Checks the message
 Class<M> getMessageClass()
          Gets the class that this subscriber accepts to handle
 String getTriggerDescription()
          Description for the trigger
 

Method Detail

getMessageClass

Class<M> getMessageClass()
Gets the class that this subscriber accepts to handle


accept

boolean accept(M message)
Checks the message


getTriggerDescription

String getTriggerDescription()
Description for the trigger



Copyright © 2011. All Rights Reserved.