org.jboss.errai.enterprise.client.cdi
Class AbstractCDIEventCallback<T>
java.lang.Object
org.jboss.errai.enterprise.client.cdi.AbstractCDIEventCallback<T>
- All Implemented Interfaces:
- MessageCallback
public abstract class AbstractCDIEventCallback<T>
- extends Object
- implements MessageCallback
- Author:
- Christian Sadilek , Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
qualifierSet
protected final Set<String> qualifierSet
- The qualifiers a message must contain to be propagated.
AbstractCDIEventCallback
public AbstractCDIEventCallback()
getQualifiers
public Set<String> getQualifiers()
callback
public final void callback(Message message)
- Description copied from interface:
MessageCallback
- Called by the Message Bus every time it processes a message with the
subject this callback is registered for.
- Specified by:
callback
in interface MessageCallback
- Parameters:
message
- The message on the bus. Avoid making changes to this object,
because it will continue to be reused by the framework and the
same Message instance will be passed to other callbacks.
isDefault
protected boolean isDefault()
fireEvent
protected abstract void fireEvent(T event)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.