org.apache.myfaces.extensions.cdi.jsf.impl.util
Class FacesInformationProducer

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.jsf.impl.util.FacesInformationProducer

@RequestScoped
public class FacesInformationProducer
extends Object

Author:
Gerhard Petracek

Constructor Summary
protected FacesInformationProducer()
           
 
Method Summary
protected  javax.faces.context.FacesContext currentFacesContext()
          Using a request scoped proxy ensures a serializable proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesInformationProducer

protected FacesInformationProducer()
Method Detail

currentFacesContext

@Produces
@RequestScoped
protected javax.faces.context.FacesContext currentFacesContext()
Using a request scoped proxy ensures a serializable proxy. Using a proxy instead of a custom wrapper allows upward compatibility. The disadvantage is the lower performance (due to the generated proxy.

Returns:
current faces-context


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