org.portletfaces.bridge.scope
Class BridgeRequestScopeManagerFactory

java.lang.Object
  extended by org.portletfaces.bridge.scope.BridgeRequestScopeManagerFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<BridgeRequestScopeManagerFactory>

public abstract class BridgeRequestScopeManagerFactory
extends java.lang.Object
implements javax.faces.FacesWrapper<BridgeRequestScopeManagerFactory>

This abstract class provides a contract for defining a factory that knows how to create instances of type BridgeRequestScopeManager. 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
BridgeRequestScopeManagerFactory()
           
 
Method Summary
abstract  BridgeRequestScopeManager getBridgeRequestScopeManager()
           
 BridgeRequestScopeManagerFactory getWrapped()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgeRequestScopeManagerFactory

public BridgeRequestScopeManagerFactory()
Method Detail

getBridgeRequestScopeManager

public abstract BridgeRequestScopeManager getBridgeRequestScopeManager()
                                                                throws javax.faces.FacesException
Throws:
javax.faces.FacesException

getWrapped

public BridgeRequestScopeManagerFactory getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<BridgeRequestScopeManagerFactory>


Copyright © 2011 portletfaces.org. All Rights Reserved.