org.granite.tide.cdi
Class TideUserEvents

java.lang.Object
  extended by org.granite.tide.cdi.TideUserEvents
All Implemented Interfaces:
Serializable

@ApplicationScoped
public class TideUserEvents
extends Object
implements Serializable

TideAsync stores user events configuration

Author:
William DRAI
See Also:
Serialized Form

Constructor Summary
TideUserEvents()
           
 
Method Summary
 UserEvents getUserEvents(String sessionId)
           
 boolean hasEventType(String sessionId, Class<?> eventType)
           
 void registerEventType(String sessionId, Class<?> eventType)
           
 void unregisterSession(String sessionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TideUserEvents

public TideUserEvents()
Method Detail

registerEventType

public void registerEventType(String sessionId,
                              Class<?> eventType)

unregisterSession

public void unregisterSession(String sessionId)

getUserEvents

public UserEvents getUserEvents(String sessionId)

hasEventType

public boolean hasEventType(String sessionId,
                            Class<?> eventType)