|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.custom.conversation.SpringConversationScope
public class SpringConversationScope
adapts the conversation scope to a new spring scope
Constructor Summary | |
---|---|
SpringConversationScope()
|
Method Summary | |
---|---|
protected java.lang.String |
buildBeanName(java.lang.String name)
strip off any spring namespace. |
java.lang.Object |
get(java.lang.String name,
org.springframework.beans.factory.ObjectFactory objectFactory)
get the conversation bean. this will start a new conversation with the same name in case a conversation is not existent yet. |
java.lang.String |
getConversationId()
|
void |
registerDestructionCallback(java.lang.String name,
java.lang.Runnable runnable)
|
java.lang.Object |
remove(java.lang.String name)
remove the bean from the conversation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringConversationScope()
Method Detail |
---|
public java.lang.String getConversationId()
getConversationId
in interface org.springframework.beans.factory.config.Scope
public java.lang.Object get(java.lang.String name, org.springframework.beans.factory.ObjectFactory objectFactory)
get
in interface org.springframework.beans.factory.config.Scope
protected java.lang.String buildBeanName(java.lang.String name)
public java.lang.Object remove(java.lang.String name)
remove
in interface org.springframework.beans.factory.config.Scope
public void registerDestructionCallback(java.lang.String name, java.lang.Runnable runnable)
registerDestructionCallback
in interface org.springframework.beans.factory.config.Scope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |