Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1329

Added support for invoking non-static methods in MethodInvoker

Details

    Description

      Currently, MethodInvoker only supports invoking static methods. It also allows developers to invoke non-static methods of a newly created object. This improvement adds the ability to invoke non-static methods to existing objects.

      The following method has been added to MethodInvoker:

      public static Object invoke(MethodWrapper methodWrapper, Object targetObject);

      The following method in MethodWrapper has also been deprecated:

      public Object[] getArgs();

      in favor of:

      public Object[] getArguments();

      Note: This improvement was added because it is need to fix a memory leak with the the Quartz Scheduler

      Attachments

        Issue Links

          Activity

            People

              support-ee EE Support
              samuel.kong Samuel Kong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP4 (5.1.7)
                  5.2 EE SP2 (5.2.6)