org.jboss.webbeans.conversation
Class NumericConversationIdGenerator

java.lang.Object
  extended by org.jboss.webbeans.conversation.NumericConversationIdGenerator
All Implemented Interfaces:
java.io.Serializable, ConversationIdGenerator

@SessionScoped
@WebBean
public class NumericConversationIdGenerator
extends java.lang.Object
implements ConversationIdGenerator, java.io.Serializable

A ConversationIdGenerator implementation using running numerical values

Author:
Nicklas Karlsson
See Also:
Serialized Form

Constructor Summary
NumericConversationIdGenerator()
          Creates a new conversation ID generator
 
Method Summary
 java.lang.String nextId()
          Gets the next ID for a new conversation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericConversationIdGenerator

public NumericConversationIdGenerator()
Creates a new conversation ID generator

Method Detail

nextId

public java.lang.String nextId()
Description copied from interface: ConversationIdGenerator
Gets the next ID for a new conversation

Specified by:
nextId in interface ConversationIdGenerator
Returns:
The ID


Copyright © 2011. All Rights Reserved.