org.jboss.jsfunit.seam
Class ConversationScopeVariableResolver

java.lang.Object
  extended by javax.faces.el.VariableResolver
      extended by org.jboss.jsfunit.seam.ConversationScopeVariableResolver

public class ConversationScopeVariableResolver
extends javax.faces.el.VariableResolver

VariableResolver for Seam conversation scope objects that JSFUnit stashes in the HttpSession. This is implemented as a Variableresolver instead of an ELResolver because we want to maintain compatibility with JSF 1.1.

Since:
1.0
Author:
Stan Silvert

Field Summary
static String SEAM_CONVERSATION_EL_IDENTIFIER
           
 
Constructor Summary
ConversationScopeVariableResolver(javax.faces.el.VariableResolver delegate)
          Create a new instance of ConversationScopeVariableResolver.
 
Method Summary
 Object resolveVariable(javax.faces.context.FacesContext facesContext, String name)
          See javadoc for VariableResolver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEAM_CONVERSATION_EL_IDENTIFIER

public static final String SEAM_CONVERSATION_EL_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

ConversationScopeVariableResolver

public ConversationScopeVariableResolver(javax.faces.el.VariableResolver delegate)
Create a new instance of ConversationScopeVariableResolver.

Parameters:
delegate - The next VariableResolver in the resolver chain.
Method Detail

resolveVariable

public Object resolveVariable(javax.faces.context.FacesContext facesContext,
                              String name)
                       throws javax.faces.el.EvaluationException
See javadoc for VariableResolver.

Specified by:
resolveVariable in class javax.faces.el.VariableResolver
Throws:
javax.faces.el.EvaluationException
See Also:
VariableResolver.resolveVariable(javax.faces.context.FacesContext, java.lang.String)


Copyright © 2007-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.