ICEfaces Core 3.3.0
Java API Documentation

org.icefaces.bean
Class WindowScopeBeanLocator

java.lang.Object
  extended by org.icefaces.bean.WindowScopeBeanLocator

public class WindowScopeBeanLocator
extends java.lang.Object

This class can be used to locate window scope beans from a non-JSF environment (mainly servlet environment).


Constructor Summary
WindowScopeBeanLocator()
           
 
Method Summary
static java.lang.Object lookupBean(javax.servlet.http.HttpServletRequest request, java.lang.String name)
          Lookup a bean by its name in the current window scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowScopeBeanLocator

public WindowScopeBeanLocator()
Method Detail

lookupBean

public static java.lang.Object lookupBean(javax.servlet.http.HttpServletRequest request,
                                          java.lang.String name)
Lookup a bean by its name in the current window scope.

Parameters:
request - servlet request
session - servlet session
name - the name of the bean as it is declared in its annotation or faces-config.xml file
Returns:
the bean when found or null if missing

ICEfaces Core 3.3.0
Java API Documentation

Copyright 2013 ICEsoft Technologies Canada Corp., All Rights Reserved.