com.liferay.faces.bridge
Class BridgePhaseFactory
java.lang.Object
com.liferay.faces.bridge.BridgePhaseFactory
- All Implemented Interfaces:
- FactoryWrapper<BridgePhaseFactory>, javax.faces.FacesWrapper<BridgePhaseFactory>
- Direct Known Subclasses:
- BridgePhaseFactoryImpl
public abstract class BridgePhaseFactory
- extends Object
- implements FactoryWrapper<BridgePhaseFactory>
This abstract class provides a contract for defining a factory that knows how to create instances of type BridgePhase. 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
|
Method Summary |
abstract BridgePhase |
getBridgeActionPhase(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
javax.portlet.PortletConfig portletConfig)
|
abstract BridgePhase |
getBridgeEventPhase(javax.portlet.EventRequest eventRequest,
javax.portlet.EventResponse eventResponse,
javax.portlet.PortletConfig portletConfig)
|
abstract BridgePhase |
getBridgeRenderPhase(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse,
javax.portlet.PortletConfig portletConfig)
|
abstract BridgePhase |
getBridgeResourcePhase(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
javax.portlet.PortletConfig portletConfig)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgePhaseFactory
public BridgePhaseFactory()
getBridgeActionPhase
public abstract BridgePhase getBridgeActionPhase(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
javax.portlet.PortletConfig portletConfig)
throws javax.faces.FacesException
- Throws:
javax.faces.FacesException
getBridgeEventPhase
public abstract BridgePhase getBridgeEventPhase(javax.portlet.EventRequest eventRequest,
javax.portlet.EventResponse eventResponse,
javax.portlet.PortletConfig portletConfig)
throws javax.faces.FacesException
- Throws:
javax.faces.FacesException
getBridgeRenderPhase
public abstract BridgePhase getBridgeRenderPhase(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse,
javax.portlet.PortletConfig portletConfig)
throws javax.faces.FacesException
- Throws:
javax.faces.FacesException
getBridgeResourcePhase
public abstract BridgePhase getBridgeResourcePhase(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
javax.portlet.PortletConfig portletConfig)
throws javax.faces.FacesException
- Throws:
javax.faces.FacesException
Copyright © 2014 Liferay, Inc.. All Rights Reserved.