com.liferay.faces.bridge.config
Class BridgeConfigFactory
java.lang.Object
com.liferay.faces.bridge.config.BridgeConfigFactory
- All Implemented Interfaces:
- FactoryWrapper<BridgeConfigFactory>, javax.faces.FacesWrapper<BridgeConfigFactory>
- Direct Known Subclasses:
- BridgeConfigFactoryImpl
public abstract class BridgeConfigFactory
- extends Object
- implements FactoryWrapper<BridgeConfigFactory>
This abstract class provides a contract for defining a factory that knows how to create instances of type BridgeConfig. It is inspired by the factory pattern found in the JSF API like FacesContextFactory and ExternalContextFactory. However, unlike
these classes, it does NOT implement the FacesWrapper interface. The reason why is because bridge
configuration is part of a chicken-and-the-egg type of scenario. Without the bridge configuration, the bridge can't
initialize properly. Once it is initialized, it's too late to delegate responsibility to a different factory in the
chain.
- Author:
- Neil Griffin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeConfigFactory
public BridgeConfigFactory()
getBridgeConfig
public abstract BridgeConfig getBridgeConfig()
throws javax.faces.FacesException
- Throws:
javax.faces.FacesException
Copyright © 2014 Liferay, Inc.. All Rights Reserved.