Richfaces Examples: Richfaces Showcase Application 4.1.0.20110805-M1

org.richfaces.demo.push
Class PushEventObserver

java.lang.Object
  extended by org.richfaces.demo.push.PushEventObserver

public class PushEventObserver
extends Object

Observes CDI Events annotated by Push and pass event pay-loads to topic specific to current user identifier.

Author:
Lukas Fryc

Field Summary
static String PUSH_CDI_TOPIC
           
 
Constructor Summary
PushEventObserver()
           
 
Method Summary
 void onPushEvent(Object message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PUSH_CDI_TOPIC

public static final String PUSH_CDI_TOPIC
See Also:
Constant Field Values
Constructor Detail

PushEventObserver

public PushEventObserver()
Method Detail

onPushEvent

public void onPushEvent(@Observes
                        Object message)

Richfaces Examples: Richfaces Showcase Application 4.1.0.20110805-M1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.