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

Regulate service circular dependencies usage

    Details

      Description

      The goal of this ticket is to ensure ServiceBuilder generated service code don't have circular dependencies.

      SB has been generating circular dependencies code since the beginning, it is not a problem with Spring as we use the BeanReferenceAnnotationBeanPostProcessor to help Spring to solve it. However as we are moving to OSGi base infrastructure, the mixed service structure between OSGi DS based service and Spring extender base service are getting more sensitive about the circular dependencies which could lead to dead locks.

      This ticket is only trying to do 2 things:
      1) Wipe out the exist service circular dependencies usages.
      2) Refactor SB to stop generating circular dependencies supporting code.

      What it does not do is, it can not prevent new code to introduce circular dependencies manually by developers, that part only developers can restrict themselves to avoid it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chiu Brian Chiu (Inactive)
              Reporter:
              shuyang.zhou Shuyang Zhou
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.0.0 Beta 2