org.jboss.seam.faces.environment
Class FacesFlashProducer
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesFlashProducer
public FacesFlashProducer()
getFlash
@Produces
@RequestScoped
public Flash getFlash()
Copyright © 2011 Seam Framework. All Rights Reserved.