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 WebApplicationContext
getRequiredWebApplicationContext
(ExternalContext externalContext) Find the rootWebApplicationContext
for this web app.static ServletContext
getServletContext
(ExternalContext externalContext) Returns theServletContext
for the givenExternalContext
.static WebApplicationContext
getWebApplicationContext
(ExternalContext externalContext) Find the rootWebApplicationContext
for this web app.Von Klasse geerbte Methoden org.springframework.web.jsf.FacesContextUtils
getRequiredWebApplicationContext, getSessionMutex, getWebApplicationContext
-
Methodendetails
-
getServletContext
Returns theServletContext
for the givenExternalContext
.- Parameter:
externalContext
- theExternalContext
to find theServletContext
for.- Gibt zurück:
- the ServletContext for the given ExternalContext
-
getWebApplicationContext
@Nullable public static WebApplicationContext getWebApplicationContext(ExternalContext externalContext) Find the rootWebApplicationContext
for 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
null
if none - Siehe auch:
-
getRequiredWebApplicationContext
@NonNull public static WebApplicationContext getRequiredWebApplicationContext(ExternalContext externalContext) Find the rootWebApplicationContext
for 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:
-