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 of
ApplicationFactory
.-
Constructor Summary
Constructors Constructor Description ApplicationFactoryImpl()
-
Method Summary
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()
-
Constructor Details
-
ApplicationFactoryImpl
public ApplicationFactoryImpl()
-
-
Method Details
-
getApplication
Create (if needed) and return an
Application
instance for this web application.- Specified by:
getApplication
in classApplicationFactory
- Returns:
- the application.
-
setApplication
Replace the
Application
instance that will be returned for this web application.- Specified by:
setApplication
in classApplicationFactory
- Parameters:
application
- The replacementApplication
instance
-
toString
-