org.jboss.seam.core
@Name(value="org.jboss.seam.core.conversationPropagation") @Scope(value=EVENT) @BypassInterceptors @Install(precedence=0) public class ConversationPropagation extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONVERSATION_NAME_PARAMETER |
static String |
CONVERSATION_PROPAGATION_PARAMETER |
Constructor and Description |
---|
ConversationPropagation() |
Modifier and Type | Method and Description |
---|---|
String |
getConversationId() |
String |
getConversationName() |
String |
getPageflow() |
String |
getParentConversationId() |
PropagationType |
getPropagationType() |
static String |
getRequestParameterValue(Map parameters,
String parameterName)
Retrieve a parameter value from the request
|
static ConversationPropagation |
instance() |
boolean |
isValidateLongRunningConversation()
Specifies that a redirect will occur if there is no
conversation found on the server.
|
void |
restoreConversationId(Map parameters)
Initialize the request conversation id, taking
into account conversation propagation style, and
any conversation id passed as a request parameter
or in the PAGE context.
|
void |
setConversationId(String conversationId) |
void |
setParentConversationId(String parentConversationId) |
void |
setPropagationType(PropagationType propagationType) |
void |
setValidateLongRunningConversation(boolean validateLongRunningConversation) |
public static final String CONVERSATION_NAME_PARAMETER
public static final String CONVERSATION_PROPAGATION_PARAMETER
public void restoreConversationId(Map parameters)
parameters
- the request parameterspublic static String getRequestParameterValue(Map parameters, String parameterName)
parameters
- the request parametersparameterName
- the name of the parameter to retrievepublic String getConversationId()
public void setConversationId(String conversationId)
public String getParentConversationId()
public void setParentConversationId(String parentConversationId)
public boolean isValidateLongRunningConversation()
public void setValidateLongRunningConversation(boolean validateLongRunningConversation)
public static ConversationPropagation instance()
public PropagationType getPropagationType()
public void setPropagationType(PropagationType propagationType)
public String getPageflow()
public String getConversationName()
Copyright © 2015 Seam Framework. All Rights Reserved.