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

Use an InvocationHandler in order to wrap PortalImpl.java in the jsf2-registration-portlet

    Details

      Description

      The jsf2-registration-portlet has a custom class named PortalWrapper.java that is used to wrap the default implementation of Portal.java (PortalImpl.java).

      The problem is that PortalWrapper.java is a class that changed frequently in the Liferay Portal master branch, and subsequently breaks the Liferay Faces build that tracks the Liferay Portal master branch.

      We originally considered adding PortalWrapper.java to the portal API in LPS-38154, but Brian asked us to use an InvocationHandler instead.

      This task involves removing the PortalWrapper.java class and performing the wrapping via InvocationHandler and a Proxy.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  liferay-faces-3.0.3-ga4
                  liferay-faces-3.1.3-ga4