org.apache.myfaces.orchestra.viewController.spring
Class SpringViewControllerScope
java.lang.Object
org.apache.myfaces.orchestra.conversation.spring.AbstractSpringOrchestraScope
org.apache.myfaces.orchestra.viewController.spring.SpringViewControllerScope
- All Implemented Interfaces:
- ConversationFactory, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.Scope, org.springframework.context.ApplicationContextAware
public class SpringViewControllerScope
- extends AbstractSpringOrchestraScope
provides a dummy scope which will place a bean configured for into the same conversation as the
viewController.
Methods inherited from class org.apache.myfaces.orchestra.conversation.spring.AbstractSpringOrchestraScope |
buildBeanName, get, getBean, getConversationForBean, getConversationId, notifyAccessConversation, registerDestructionCallback, remove, setAdvices, setApplicationContext, setBeanFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringViewControllerScope
public SpringViewControllerScope()
createConversation
public Conversation createConversation(ConversationContext context,
java.lang.String conversationName)
assertSameScope
protected void assertSameScope(java.lang.String beanName,
Conversation conversation)
- Overrides:
assertSameScope
in class AbstractSpringOrchestraScope
getConversationNameForBean
protected java.lang.String getConversationNameForBean(java.lang.String beanName)
- Description copied from class:
AbstractSpringOrchestraScope
- Get the conversation name associated with the beanName.
- Overrides:
getConversationNameForBean
in class AbstractSpringOrchestraScope
Copyright 2007 The Apache Software Foundation. All Rights Reserved.