|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.faces.webflow.JsfRuntimeInformation
public class JsfRuntimeInformation
Helper class to provide information about the JSF runtime environment such as JSF version and implementation.
Field Summary | |
---|---|
static int |
JSF_11
Deprecated. As of Web Flow 2.4.0 JSF 2.0 is a minimum requirement |
static int |
JSF_12
Deprecated. As of Web Flow 2.4.0 JSF 2.0 is a minimum requirement |
static int |
JSF_20
JSF Version 2.0 |
Constructor Summary | |
---|---|
JsfRuntimeInformation()
|
Method Summary | |
---|---|
static boolean |
isAtLeastJsf12()
Deprecated. As of Web Flow 2.4.0 JSF 2.0 is a minimum requirement |
static boolean |
isAtLeastJsf20()
Deprecated. As of Web Flow 2.4.0 JSF 2.0 is a minimum requirement |
static boolean |
isLessThanJsf20()
Deprecated. As of Web Flow 2.4.0 JSF 2.0 is a minimum requirement |
static boolean |
isMyFacesPresent()
|
static boolean |
isPortletContext(java.lang.Object nativeContext)
Determine if the specified context object is from portlet. |
static boolean |
isPortletRequest(javax.faces.context.FacesContext context)
Determine if the specified FacesContext is from a portlet request. |
static boolean |
isPortletRequest(RequestContext context)
Determine if the specified RequestContext is from a portlet request. |
static boolean |
isSpringPortletPresent()
Determines if the container has support for portlets and if Spring MVC portlet support is available |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final int JSF_11
@Deprecated public static final int JSF_12
public static final int JSF_20
Constructor Detail |
---|
public JsfRuntimeInformation()
Method Detail |
---|
@Deprecated public static boolean isAtLeastJsf20()
@Deprecated public static boolean isAtLeastJsf12()
@Deprecated public static boolean isLessThanJsf20()
public static boolean isMyFacesPresent()
public static boolean isSpringPortletPresent()
public static boolean isPortletRequest(javax.faces.context.FacesContext context)
FacesContext
is from a portlet request.
context
- the faces context
public static boolean isPortletRequest(RequestContext context)
RequestContext
is from a portlet request.
context
- the request context
public static boolean isPortletContext(java.lang.Object nativeContext)
nativeContext
- the native context
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |