org.apache.myfaces.tobago.portlet
Class PortletUtils

java.lang.Object
  extended by org.apache.myfaces.tobago.portlet.PortletUtils

public final class PortletUtils
extends Object

Static utility class for portlet-related operations.


Method Summary
static boolean isPortletApiAvailable()
          The Portlet API is optional in the class path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isPortletApiAvailable

public static boolean isPortletApiAvailable()
The Portlet API is optional in the class path. We are only allowed to check instance of e. g. PortletRequest, if the API exists.

Returns:
Are the Portlet classes available?


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.