org.apache.myfaces.orchestra.viewController.spring
Class SpringViewControllerScope

java.lang.Object
  extended by org.apache.myfaces.orchestra.conversation.spring.AbstractSpringOrchestraScope
      extended by 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.


Constructor Summary
SpringViewControllerScope()
           
 
Method Summary
protected  void assertSameScope(java.lang.String beanName, Conversation conversation)
           
 Conversation createConversation(ConversationContext context, java.lang.String conversationName)
           
protected  java.lang.String getConversationNameForBean(java.lang.String beanName)
          Get the conversation name associated with the beanName.
 
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
 

Constructor Detail

SpringViewControllerScope

public SpringViewControllerScope()
Method Detail

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.