Package com.sun.faces.application
Class ApplicationFactoryImpl
- java.lang.Object
-
- jakarta.faces.application.ApplicationFactory
-
- com.sun.faces.application.ApplicationFactoryImpl
-
- All Implemented Interfaces:
FacesWrapper<ApplicationFactory>
public class ApplicationFactoryImpl extends ApplicationFactory
Default implementation ofApplicationFactory
.
-
-
Constructor Summary
Constructors Constructor Description ApplicationFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Application
getApplication()
Create (if needed) and return anApplication
instance for this web application.void
setApplication(Application application)
Replace theApplication
instance that will be returned for this web application.String
toString()
-
Methods inherited from class jakarta.faces.application.ApplicationFactory
getWrapped
-
-
-
-
Method Detail
-
getApplication
public Application getApplication()
Create (if needed) and return an
Application
instance for this web application.- Specified by:
getApplication
in classApplicationFactory
- Returns:
- the application.
-
setApplication
public void setApplication(Application application)
Replace the
Application
instance that will be returned for this web application.- Specified by:
setApplication
in classApplicationFactory
- Parameters:
application
- The replacementApplication
instance
-
-