FacesContextFactory is responsible for injecting the
default FacesContext instance into the top-level FacesContext
as configured by the runtime. Doing this allows us to preserve backwards
compatibility as the API evolves without having the API rely on implementation
specific details.
| Modifier and Type | Field and Description |
|---|---|
| private Field | |
| private Field | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FacesContext | getFacesContext(Object
In servlet environments, the
context, Object ServletContext that is associated with this web
applicationIn servlet environments, the
request, Object ServletRequest that is to be processedIn servlet environments, the
response, Lifecycle ServletResponse that is to be processedThe lifecycle)Lifecycle instance being used
to process this requestImplements abstract javax. Create (if needed)
and return a |
| private void |
| defaultExternalContext | back to summary |
|---|---|
| private Field defaultExternalContext | |
| defaultFacesContext | back to summary |
|---|---|
| private Field defaultFacesContext | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| InjectionFacesContextFactory | back to summary |
|---|---|
| public InjectionFacesContextFactory(FacesContextFactory delegate) | |
| getFacesContext | back to summary |
|---|---|
| public FacesContext getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle) throws FacesException Implements abstract javax. Doc from javax. Create (if needed)
and return a The implementation of this method must ensure that calls to the
The implementation must call
The default implementation must call
The default implementation must call
| |
| injectDefaults | back to summary |
|---|---|
| private void injectDefaults(FacesContext target, Object request) | |