com.liferay.faces.bridge.scope
Class BridgeRequestScopeCacheFactory

java.lang.Object
  extended by com.liferay.faces.bridge.scope.BridgeRequestScopeCacheFactory
All Implemented Interfaces:
FactoryWrapper<BridgeRequestScopeCacheFactory>, javax.faces.FacesWrapper<BridgeRequestScopeCacheFactory>
Direct Known Subclasses:
BridgeRequestScopeCacheFactoryImpl

public abstract class BridgeRequestScopeCacheFactory
extends Object
implements FactoryWrapper<BridgeRequestScopeCacheFactory>

This abstract class provides a contract for defining a factory that knows how to create instances of type BridgeRequestScopeCache. It is inspired by the factory pattern found in the JSF API like FacesContextFactory and ExternalContextFactory. By implementing the FacesWrapper interface, the class provides implementations with the opportunity to wrap another factory (participate in a chain-of-responsibility pattern). If an implementation wraps a factory, then it should provide a one-arg constructor so that the wrappable factory can be passed at initialization time.

Author:
Neil Griffin

Constructor Summary
BridgeRequestScopeCacheFactory()
           
 
Method Summary
abstract  BridgeRequestScopeCache getBridgeRequestScopeCache(javax.portlet.PortletContext portletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.faces.bridge.FactoryWrapper
getWrapped
 

Constructor Detail

BridgeRequestScopeCacheFactory

public BridgeRequestScopeCacheFactory()
Method Detail

getBridgeRequestScopeCache

public abstract BridgeRequestScopeCache getBridgeRequestScopeCache(javax.portlet.PortletContext portletContext)
                                                            throws javax.faces.FacesException
Throws:
javax.faces.FacesException


Copyright © 2014 Liferay, Inc.. All Rights Reserved.