org.apache.myfaces.custom.scope
Class ScopeUtils

java.lang.Object
  extended by org.apache.myfaces.custom.scope.ScopeUtils

public class ScopeUtils
extends java.lang.Object

Small helper to cope with the managed beans within the scope tag handler Thanks Derek Shen to allow me to relicense the Faces Utils code under Apache2 this class is derived from it http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html

Author:
Werner Punz werpu@gmx.at

Constructor Summary
ScopeUtils()
           
 
Method Summary
static java.lang.Object getManagedBean(java.lang.String beanName)
          returns the managed bean from the given bean name
static boolean isEl(java.lang.String beanName)
          el checker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopeUtils

public ScopeUtils()
Method Detail

isEl

public static final boolean isEl(java.lang.String beanName)
el checker

Parameters:
beanName -
Returns:
true if the bean is a managed bean

getManagedBean

public static java.lang.Object getManagedBean(java.lang.String beanName)
returns the managed bean from the given bean name

Parameters:
beanName -
Returns:
Object managed bean


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.