org.portletfaces.bridge
Class BridgeFactoryFinder

java.lang.Object
  extended by org.portletfaces.bridge.BridgeFactoryFinder

public abstract class BridgeFactoryFinder
extends java.lang.Object

PROPOSED-FOR-STANDARD: https://issues.apache.org/jira/browse/PORTLETBRIDGE-189

Author:
Neil Griffin

Field Summary
static java.lang.String BRIDGE_CONFIG_FACTORY
          The property name for the BridgeConfigFactory class name.
static java.lang.String BRIDGE_CONTEXT_FACTORY
          The property name for the BridgeContextFactory class name.
static java.lang.String BRIDGE_FACTORY
          The property name for the BridgeFactory class name.
static java.lang.String BRIDGE_NAVIGATION_HANDLER_FACTORY
          The property name for the BridgeNavigationHandlerFactory class name.
static java.lang.String BRIDGE_REQUEST_SCOPE_FACTORY
          The property name for the BridgeRequestScopeFactory class name.
static java.lang.String BRIDGE_REQUEST_SCOPE_MANAGER_FACTORY
          The property name for the BridgeRequestScopeManagerFactory class name.
static java.lang.String PORTLET_CONTAINER_FACTORY
          The property name for the PortletContainerFactory class name.
 
Constructor Summary
BridgeFactoryFinder()
           
 
Method Summary
abstract  java.lang.Object getFactory(java.lang.String factoryName)
           
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
 

Field Detail

BRIDGE_CONFIG_FACTORY

public static final java.lang.String BRIDGE_CONFIG_FACTORY
The property name for the BridgeConfigFactory class name.

See Also:
Constant Field Values

BRIDGE_CONTEXT_FACTORY

public static final java.lang.String BRIDGE_CONTEXT_FACTORY
The property name for the BridgeContextFactory class name.

See Also:
Constant Field Values

BRIDGE_FACTORY

public static final java.lang.String BRIDGE_FACTORY
The property name for the BridgeFactory class name.

See Also:
Constant Field Values

BRIDGE_NAVIGATION_HANDLER_FACTORY

public static final java.lang.String BRIDGE_NAVIGATION_HANDLER_FACTORY
The property name for the BridgeNavigationHandlerFactory class name.

See Also:
Constant Field Values

BRIDGE_REQUEST_SCOPE_FACTORY

public static final java.lang.String BRIDGE_REQUEST_SCOPE_FACTORY
The property name for the BridgeRequestScopeFactory class name.

See Also:
Constant Field Values

BRIDGE_REQUEST_SCOPE_MANAGER_FACTORY

public static final java.lang.String BRIDGE_REQUEST_SCOPE_MANAGER_FACTORY
The property name for the BridgeRequestScopeManagerFactory class name.

See Also:
Constant Field Values

PORTLET_CONTAINER_FACTORY

public static final java.lang.String PORTLET_CONTAINER_FACTORY
The property name for the PortletContainerFactory class name.

See Also:
Constant Field Values
Constructor Detail

BridgeFactoryFinder

public BridgeFactoryFinder()
Method Detail

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 BridgeFactory.


init

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

getFactory

public abstract java.lang.Object getFactory(java.lang.String factoryName)
                                     throws javax.faces.FacesException
Throws:
javax.faces.FacesException


Copyright © 2011 portletfaces.org. All Rights Reserved.