public class InjectionApplicationFactory
extends javax.faces.application.ApplicationFactory
ApplicationFactory is responsible for injecting the
default Application instance into the top-level Application
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.| Constructor and Description |
|---|
InjectionApplicationFactory(javax.faces.application.ApplicationFactory delegate) |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.application.Application |
getApplication()
Create (if needed) and return an
Application instance
for this web application. |
void |
setApplication(javax.faces.application.Application application)
Replace the
Application instance that will be
returned for this web application. |
public InjectionApplicationFactory(javax.faces.application.ApplicationFactory delegate)
public javax.faces.application.Application getApplication()
javax.faces.application.ApplicationFactoryCreate (if needed) and return an Application instance
for this web application.
getApplication in class javax.faces.application.ApplicationFactorypublic void setApplication(javax.faces.application.Application application)
javax.faces.application.ApplicationFactoryReplace the Application instance that will be
returned for this web application.
setApplication in class javax.faces.application.ApplicationFactoryapplication - The replacement Application instanceCopyright © 2010–2019 JBoss by Red Hat. All rights reserved.