|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.util.ContainerUtils
public class ContainerUtils
Utilities for determining the current container and for the unified expression language.
Constructor Summary | |
---|---|
ContainerUtils()
|
Method Summary | |
---|---|
static boolean |
isJsp21(javax.servlet.ServletContext context)
Determines whether we're running in a Servlet 2.5/JSP 2.1 environment. |
static boolean |
isRunningOnGoogleAppEngine(ExternalContext externalContext)
|
static boolean |
isRunningOnGoogleAppEngine(javax.servlet.ServletContext servletContext)
Returns true if running on Google App Engine (both production and development environment). |
static boolean |
isValueReference(String value)
Return true if the specified string contains an EL expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContainerUtils()
Method Detail |
---|
public static boolean isJsp21(javax.servlet.ServletContext context)
true
if we're running in a JSP 2.1 environment,
false
otherwisepublic static boolean isValueReference(String value)
NOTICE This method is just a copy of
UIComponentTag#isValueReference(String)
, but it's required
because the class UIComponentTag depends on a JSP 2.1 container
(for example, it indirectly implements the interface JspIdConsumer)
and therefore internal classes shouldn't access this class. That's
also the reason why this method is inside the class ContainerUtils,
because it allows MyFaces to be independent of a JSP 2.1 container.
public static boolean isRunningOnGoogleAppEngine(javax.servlet.ServletContext servletContext)
If this method returns true, then
public static boolean isRunningOnGoogleAppEngine(ExternalContext externalContext)
isRunningOnGoogleAppEngine(ServletContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |