|
spring-webflow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.conversation.impl.ContainedConversation
public class ContainedConversation
Internal Conversation
implementation used by the conversation container.
This is an internal helper class of the SessionBindingConversationManager
.
Constructor Summary | |
---|---|
ContainedConversation(ConversationContainer container,
ConversationId id,
ConversationLock lock)
Create a new contained conversation. |
Method Summary | |
---|---|
void |
end()
Ends this conversation. |
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getAttribute(java.lang.Object name)
Returns the conversation attribute with the specified name. |
ConversationId |
getId()
Returns the unique id assigned to this conversation. |
int |
hashCode()
|
void |
lock()
Lock this conversation. |
void |
putAttribute(java.lang.Object name,
java.lang.Object value)
Puts a conversation attribute into this context. |
void |
removeAttribute(java.lang.Object name)
Removes a conversation attribute. |
protected void |
setContainer(ConversationContainer container)
|
protected void |
setId(ConversationId id)
|
java.lang.String |
toString()
|
void |
unlock()
Unlock this conversation, making it available to others for manipulation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContainedConversation(ConversationContainer container, ConversationId id, ConversationLock lock)
container
- the container containing the conversationid
- the unique id assigned to the conversationlock
- the conversation lockMethod Detail |
---|
protected void setContainer(ConversationContainer container)
public ConversationId getId()
Conversation
getId
in interface Conversation
protected void setId(ConversationId id)
public void lock()
Conversation
lock
in interface Conversation
public java.lang.Object getAttribute(java.lang.Object name)
Conversation
getAttribute
in interface Conversation
name
- the attribute name
public void putAttribute(java.lang.Object name, java.lang.Object value)
Conversation
putAttribute
in interface Conversation
name
- the attribute namevalue
- the attribute valuepublic void removeAttribute(java.lang.Object name)
Conversation
removeAttribute
in interface Conversation
name
- the attribute namepublic void end()
Conversation
end
in interface Conversation
public void unlock()
Conversation
unlock
in interface Conversation
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
spring-webflow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |