org.jboss.seam.faces.environment
Class FacesFlashProducer

java.lang.Object
  extended by org.jboss.seam.faces.environment.FacesFlashProducer

public class FacesFlashProducer
extends Object

A producer which retrieves the Flash for the current request of the JavaServer Faces application by calling FacesContext.getCurrentInstance() and stores the result as a request-scoped bean instance.

This producer allows the Flash to be injected:

 @Inject
 Flash flash;
 

Author:
Lincoln Baxter

Constructor Summary
FacesFlashProducer()
           
 
Method Summary
 Flash getFlash()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesFlashProducer

public FacesFlashProducer()
Method Detail

getFlash

@Produces
@RequestScoped
public Flash getFlash()


Copyright © 2011 Seam Framework. All Rights Reserved.