PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-31997

Simplify DynamicDataSourceTransactionInterceptor creation for plugins

    Details

    • Similar Issues:
      Show 5 results 

      Description

      Move the DynamicDataSourceTransactionInterceptor creation logic into a proxy bean, for two reasons:
      1) When portal is not using dynamic data source, the proxy bean will be smart enough to simply create TransactionInterceptor for plugin, to avoid the unnecessary call stack. And reduce one Spring xml file to improve plugin initialization speed.
      2) Simplify service builder's job to reduce one template generation.

        Activity

        Show
        Brian Chan added a comment - https://github.com/brianchandotcom/liferay-portal/pull/8270

          People

          • Assignee:
            Brian Chan
            Reporter:
            Shuyang Zhou
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Structure Helper Panel