org.richfaces.demo.push
Class PushBean

java.lang.Object
  extended by org.richfaces.demo.push.PushBean
All Implemented Interfaces:
Serializable

@Named
@SessionScoped
public class PushBean
extends Object
implements Serializable

Author:
Lukas Fryc
See Also:
Serialized Form

Constructor Summary
PushBean()
           
 
Method Summary
 String getUserIdentifier()
          Returns current user identifier.
 String getUUID()
          Generates unique ID as string.
 void initialize()
           
 void sendMessage(String message)
          Sends message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushBean

public PushBean()
Method Detail

initialize

@PostConstruct
public void initialize()

sendMessage

public void sendMessage(String message)
Sends message.

Parameters:
message - to send

getUserIdentifier

public String getUserIdentifier()
Returns current user identifier.

Returns:
current user identifier.

getUUID

public String getUUID()
Generates unique ID as string.

Returns:
unique ID as string.


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