|
|
|
@ -104,6 +104,7 @@ public class NashornJsInvokeService extends AbstractJsInvokeService { |
|
|
|
} |
|
|
|
|
|
|
|
@PostConstruct |
|
|
|
@Override |
|
|
|
public void init() { |
|
|
|
super.init(); |
|
|
|
jsExecutor = MoreExecutors.listeningDecorator(Executors.newWorkStealingPool(jsExecutorThreadPoolSize)); |
|
|
|
@ -122,6 +123,7 @@ public class NashornJsInvokeService extends AbstractJsInvokeService { |
|
|
|
} |
|
|
|
|
|
|
|
@PreDestroy |
|
|
|
@Override |
|
|
|
public void stop() { |
|
|
|
super.stop(); |
|
|
|
if (monitorExecutorService != null) { |
|
|
|
|