com.liferay.faces.bridge.filter
Class BridgePortletConfigFactory

java.lang.Object
  extended by com.liferay.faces.bridge.filter.BridgePortletConfigFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<BridgePortletConfigFactory>

public abstract class BridgePortletConfigFactory
extends Object
implements javax.faces.FacesWrapper<BridgePortletConfigFactory>

Author:
Neil Griffin

Constructor Summary
BridgePortletConfigFactory()
           
 
Method Summary
abstract  javax.portlet.PortletConfig getPortletConfig(javax.portlet.PortletConfig portletConfig)
          Returns a thread-safe instance of PortletConfig.
static javax.portlet.PortletConfig getPortletConfigInstance(javax.portlet.PortletConfig portletConfig)
          Returns a thread-safe instance of PortletConfig from the BridgePortletConfigFactory found by the BridgeFactoryFinder.
abstract  BridgePortletConfigFactory getWrapped()
          Returns the wrapped factory instance if this factory decorates another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgePortletConfigFactory

public BridgePortletConfigFactory()
Method Detail

getPortletConfigInstance

public static javax.portlet.PortletConfig getPortletConfigInstance(javax.portlet.PortletConfig portletConfig)
Returns a thread-safe instance of PortletConfig from the BridgePortletConfigFactory found by the BridgeFactoryFinder. The returned instance is not guaranteed to be Serializable.

Parameters:
portletConfig - The configuration associated with the current portlet.

getPortletConfig

public abstract javax.portlet.PortletConfig getPortletConfig(javax.portlet.PortletConfig portletConfig)
Returns a thread-safe instance of PortletConfig. The returned instance is not guaranteed to be Serializable.

Parameters:
portletConfig - The configuration associated with the current portlet.

getWrapped

public abstract BridgePortletConfigFactory getWrapped()
Returns the wrapped factory instance if this factory decorates another. Otherwise, this method returns null.

Specified by:
getWrapped in interface javax.faces.FacesWrapper<BridgePortletConfigFactory>


Copyright © 2017 Liferay, Inc. All Rights Reserved.