Package org.joinfaces
Klasse FacesContextUtils
java.lang.Object
org.springframework.web.jsf.FacesContextUtils
org.joinfaces.FacesContextUtils
Extension of Springs own
FacesContextUtils.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic WebApplicationContextgetRequiredWebApplicationContext(ExternalContext externalContext) Find the rootWebApplicationContextfor this web app.static ServletContextgetServletContext(ExternalContext externalContext) Returns theServletContextfor the givenExternalContext.static WebApplicationContextgetWebApplicationContext(ExternalContext externalContext) Find the rootWebApplicationContextfor this web app.Von Klasse geerbte Methoden org.springframework.web.jsf.FacesContextUtils
getRequiredWebApplicationContext, getSessionMutex, getWebApplicationContext
-
Methodendetails
-
getServletContext
Returns theServletContextfor the givenExternalContext.- Parameter:
externalContext- theExternalContextto find theServletContextfor.- Gibt zurück:
- the ServletContext for the given ExternalContext
-
getWebApplicationContext
@Nullable public static WebApplicationContext getWebApplicationContext(ExternalContext externalContext) Find the rootWebApplicationContextfor this web app.- Parameter:
externalContext- The ExternalContext to find the web application context for- Gibt zurück:
- the root WebApplicationContext for this web app, or
nullif none - Siehe auch:
-
getRequiredWebApplicationContext
@NonNull public static WebApplicationContext getRequiredWebApplicationContext(ExternalContext externalContext) Find the rootWebApplicationContextfor this web app.- Parameter:
externalContext- The ExternalContext to find the web application context for- Gibt zurück:
- the root WebApplicationContext for this web app
- Siehe auch:
-