org.granite.tide.seam.async
Class SeamAsyncPublisher

java.lang.Object
  extended by org.granite.tide.seam.async.SeamAsyncPublisher
All Implemented Interfaces:
org.granite.tide.async.AsyncPublisher

@Name(value="org.granite.tide.seam.async.publisher")
@Install(precedence=10,
         classDependencies="org.granite.gravity.Gravity")
@Scope(value=STATELESS)
@BypassInterceptors
@AutoCreate
public class SeamAsyncPublisher
extends Object
implements org.granite.tide.async.AsyncPublisher

Async publisher using Gravity to send messages to the client

Author:
William DRAI

Field Summary
static String DESTINATION_NAME
           
 
Constructor Summary
SeamAsyncPublisher()
           
 
Method Summary
 void initThread()
           
 void publishMessage(String sessionId, Object body)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESTINATION_NAME

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

SeamAsyncPublisher

public SeamAsyncPublisher()
Method Detail

initThread

public void initThread()
Specified by:
initThread in interface org.granite.tide.async.AsyncPublisher

publishMessage

public void publishMessage(String sessionId,
                           Object body)
Specified by:
publishMessage in interface org.granite.tide.async.AsyncPublisher