public class InjectionApplicationFactory extends 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(ApplicationFactory delegate) |
Modifier and Type | Method and Description |
---|---|
Application |
getApplication()
Create (if needed) and return an
Application instance for this web application. |
void |
setApplication(Application application)
Replace the
Application instance that will be returned for this web application. |
getWrapped
public InjectionApplicationFactory(ApplicationFactory delegate)
public Application getApplication()
ApplicationFactory
Create (if needed) and return an Application
instance for this web application.
getApplication
in class ApplicationFactory
public void setApplication(Application application)
ApplicationFactory
Replace the Application
instance that will be returned for this web application.
setApplication
in class ApplicationFactory
application
- The replacement Application
instanceComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.