Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2510

Add static getXYZInstance() convenience method to each abstract factory class

    Description

    As part of FACES-2502, a new class named com.liferay.faces.util.context.FacesContextHelperFactory was added to the liferay-faces-util project.

    The new class contains a static getFacesContextHelperInstance() method that does a factory lookup of the FacesContextHelperFactory and returns a FacesContextHelper instance.

    This pattern should be applied to all abstract factory classes in the various Liferay Faces Git repositories. In addition, the static method should be referenced in order to reduce the number of lines of code within the codebase.

      Attachments

        Activity

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Packages

              Version Package
              alloy-1.0.0
              alloy-2.0.0
              alloy-3.0.0
              util-1.0.0
              util-2.0.0
              util-3.0.0
              bridge-impl-2.0.0
              bridge-impl-3.0.0
              bridge-ext-1.0.0
              bridge-ext-2.0.0
              bridge-ext-3.0.0
              bridge-ext-5.0.0
              bridge-api-2.0.0
              bridge-api-3.0.0
              bridge-api-4.0.0
              bridge-impl-4.0.0
              bridge-impl-5.0.0