|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.faces.environment.ExternalContextProducer
public class ExternalContextProducer
A producer which retrieves the ExternalContext for the current request of the JavaServer Faces application by calling
FacesContext.getExternalContext() and stores the result as a request-scoped bean instance.
This producer allows the ExternalContext to be injected:
@Inject ExternalContext ctx;
| Constructor Summary | |
|---|---|
ExternalContextProducer()
|
|
| Method Summary | |
|---|---|
ExternalContext |
getExternalContext(FacesContext context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalContextProducer()
| Method Detail |
|---|
@Named @Produces @RequestScoped public ExternalContext getExternalContext(FacesContext context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||