Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25716

Refactor InvokerPortlet to use factory pattern rather than prototype pattern to simplify the interface

    Details

      Description

      Using prototype pattern force us to put some extra logic inside InvokerPortlet interface. From portlet container's point of view, this is a bad idea, since the portlet should not in charge of creating copies of itself. It is container's job.

      By using factory pattern, we can push out the creation logic into factories, which are parts of container.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            shuyang.zhou Shuyang Zhou
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 15 weeks ago

                Packages

                Version Package
                6.1.1 CE GA2
                6.1.20 EE GA2
                --Sprint 11/12
                6.2.0 CE M2