Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP3 (5.1.6), 5.2 EE SP1 (5.2.5)
-
All
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
- is related to
-
LPS-4751 Improve MethodInvoker to support invoking methods on local exist target objects.
- Closed