|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.portlet.faces.BridgeUtil
public class BridgeUtil
Utility class designed to make it easy for Faces subsystems including the bridge itself to determine whether this request is running in a portlet container and/or which portlet request phase it is executing in.
Constructor Summary | |
---|---|
BridgeUtil()
|
Method Summary | |
---|---|
static Bridge.PortletPhase |
getPortletRequestPhase()
Return describes the portlet request phase currently being executed. |
static boolean |
isPortletRequest()
Indicates whether the current request is executing in the portlet container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BridgeUtil()
Method Detail |
---|
public static boolean isPortletRequest()
true
the request is a portlet request, otherwise it
is not.
public static Bridge.PortletPhase getPortletRequestPhase()
null
then this request is not being executed in a portlet
container -- note this should never be called unless running within a Faces lifecyle in a portlet request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |