« Zurück zu Liferay Faces

Extending Liferay Faces Bridge via Factory Wrappers

Liferay Faces Bridge has several abstract classes that serve as a contract for defining factories:

These factories are defined using the standard JSF <factory-extension> element in faces-config.xml. The default implementations of these factories are defined in the bridge's META-INF/faces-config.xml file.

The bridge features an extension mechanism that enables developers to decorate any of these factories in META-INF/faces-config.xml (inside a jar), or WEB-INF/faces-config.xml (inside a portlet war). The benefit of this feature is that developers can plugin their own factory implementations that decorate (wrap) the default implementations with a FactoryWrapper.

0 Anhänge
750 Angesehen
Durchschnitt (0 Stimmen)
Die durchschnittliche Bewertung ist 0.0 von max. 5 Sternen.
Kommentare
Noch keine Anmerkungen Fangen Sie an