Package org.apache.webbeans.spi
Interface ConversationService
-
public interface ConversationService
Conversation related SPI.- Version:
- $Rev$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
generateConversationId()
Generate a new conversation Id which is unique for a certain session.String
getConversationId()
Gets the current propagated conversation id ornull
if there is no conversation.
-
-
-
Method Detail
-
getConversationId
String getConversationId()
Gets the current propagated conversation id ornull
if there is no conversation.- Returns:
- the current conversation id
-
generateConversationId
String generateConversationId()
Generate a new conversation Id which is unique for a certain session. We need to do this via a pluggable Service as it makes a huge difference whether the id has to be unique on a single JVM or on multiple of them. If we have a ServletSession then we only have to be unique per Session and thus can make the handling much easier.
-
-