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.ApplicationFactory
Create (if needed) and return an Application
instance
for this web application.
getApplication
in class javax.faces.application.ApplicationFactory
public void setApplication(javax.faces.application.Application application)
javax.faces.application.ApplicationFactory
Replace the Application
instance that will be
returned for this web application.
setApplication
in class javax.faces.application.ApplicationFactory
application
- The replacement Application
instanceCopyright © 2010–2019 JBoss by Red Hat. All rights reserved.