File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
src/main/java/com/microsoft/azure/functions/worker/broker Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 1
1
package com .microsoft .azure .functions .worker .broker ;
2
2
3
- import java .lang .invoke .WrongMethodTypeException ;
4
- import java .lang .reflect .*;
5
- import java .net .*;
6
- import java .util .*;
7
-
8
- import com .microsoft .azure .functions .OutputBinding ;
9
3
import com .microsoft .azure .functions .worker .binding .*;
10
- import com .microsoft .azure .functions .worker .description .*;
11
- import com .microsoft .azure .functions .worker .reflect .*;
12
- import com .microsoft .azure .functions .rpc .messages .*;
13
- import org .apache .commons .lang3 .exception .ExceptionUtils ;
14
- import org .apache .commons .lang3 .reflect .TypeUtils ;
15
4
16
5
/**
17
6
* Used to executor of arbitrary Java method in any JAR using reflection.
@@ -21,7 +10,7 @@ public class JavaMethodExecutorImpl implements JavaMethodExecutor {
21
10
22
11
private static final JavaMethodExecutorImpl INSTANCE = new JavaMethodExecutorImpl ();
23
12
24
- public static JavaMethodExecutorImpl getExecutorInstance (){
13
+ public static JavaMethodExecutorImpl getInstance (){
25
14
return INSTANCE ;
26
15
}
27
16
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public static JavaMethodExecutor createJavaMethodExecutor(ClassLoader classLoade
10
10
throws MalformedURLException , ClassNotFoundException , NoSuchMethodException {
11
11
if (SystemUtils .IS_JAVA_1_8 ) {
12
12
WorkerLogManager .getSystemLogger ().info ("Loading JavaMethodExecutorImpl" );
13
- return JavaMethodExecutorImpl .getExecutorInstance ();
13
+ return JavaMethodExecutorImpl .getInstance ();
14
14
} else {
15
15
WorkerLogManager .getSystemLogger ().info ("Loading EnhancedJavaMethodExecutorImpl" );
16
16
return new EnhancedJavaMethodExecutorImpl (classLoader );
You can’t perform that action at this time.
0 commit comments