Created
January 12, 2017 09:21
-
-
Save motorina0/b6c5e2ccfd030d02071f7bb2a548251d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The time interceptor should be first | |
CommandExecutorImpl commandExecutor = ((CommandExecutorImpl) processEngineConfiguration.getCommandExecutor()); | |
this.oldFirstCommandInterceptor = commandExecutor.getFirst(); | |
TotalExecutionTimeCommandInterceptor timeCommandInterceptor = new TotalExecutionTimeCommandInterceptor(); | |
timeCommandInterceptor.setNext(oldFirstCommandInterceptor); | |
commandExecutor.setFirst(timeCommandInterceptor); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment