com.liferay.faces.bridge
Class BridgeConfigFactory

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

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

This abstract class provides a contract for defining a factory that knows how to create instances of type BridgeConfig and PortletConfig.

Author:
Neil Griffin

Constructor Summary
BridgeConfigFactory()
           
 
Method Summary
abstract  BridgeConfig getBridgeConfig(javax.portlet.PortletConfig portletConfig)
          Returns a thread-safe instance of BridgeConfig.
static BridgeConfig getBridgeConfigInstance(javax.portlet.PortletConfig portletConfig)
          Returns a thread-safe instance of BridgeConfig from the BridgeConfigFactory found by the BridgeFactoryFinder.
abstract  BridgeConfigFactory 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

BridgeConfigFactory

public BridgeConfigFactory()
Method Detail

getBridgeConfigInstance

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

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

getBridgeConfig

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

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

getWrapped

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

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


Copyright © 2017 Liferay, Inc. All Rights Reserved.