com.liferay.faces.bridge
Class BridgeFactoryFinder

java.lang.Object
  extended by com.liferay.faces.bridge.BridgeFactoryFinder
Direct Known Subclasses:
BridgeFactoryFinderImpl

public abstract class BridgeFactoryFinder
extends Object

Author:
Neil Griffin

Constructor Summary
BridgeFactoryFinder()
           
 
Method Summary
static FactoryWrapper<?> getFactory(Class<? extends FactoryWrapper<?>> clazz)
           
abstract  FactoryWrapper<?> getFactoryInstance(Class<? extends FactoryWrapper<?>> clazz)
           
static BridgeFactoryFinder getInstance()
           
static javax.portlet.PortletConfig getPortletConfig()
          Returns the PortletConfig for this portlet application.
abstract  void init(javax.portlet.PortletConfig portletConfig)
           
static void setPortletConfig(javax.portlet.PortletConfig portletConfig)
          Sets the PortletConfig for this portlet application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgeFactoryFinder

public BridgeFactoryFinder()
Method Detail

getFactory

public static FactoryWrapper<?> getFactory(Class<? extends FactoryWrapper<?>> clazz)

getInstance

public static BridgeFactoryFinder getInstance()

getPortletConfig

public static javax.portlet.PortletConfig getPortletConfig()
Returns the PortletConfig for this portlet application.


setPortletConfig

public static void setPortletConfig(javax.portlet.PortletConfig portletConfig)
Sets the PortletConfig for this portlet application. Note that this is called by the GenericFacesPortlet before it acquires the Bridge instance from the BridgePhaseFactory.


init

public abstract void init(javax.portlet.PortletConfig portletConfig)

getFactoryInstance

public abstract FactoryWrapper<?> getFactoryInstance(Class<? extends FactoryWrapper<?>> clazz)


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