/** * provide custom command executor that uses NON-JTA transactions */ @Override protected void initCommandExecutorDbSchemaOperations() { if(commandExecutorSchemaOperations == null) { List<CommandInterceptor> commandInterceptorsDbSchemaOperations = new ArrayList<CommandInterceptor>(); commandInterceptorsDbSchemaOperations.add(new LogInterceptor()); commandInterceptorsDbSchemaOperations.add(new CommandContextInterceptor(dbSchemaOperationsCommandContextFactory, this)); commandInterceptorsDbSchemaOperations.add(actualCommandExecutor); commandExecutorSchemaOperations = initInterceptorChain(commandInterceptorsDbSchemaOperations); } }
/** * provide custom command executor that uses NON-JTA transactions */ @Override protected void initCommandExecutorDbSchemaOperations() { if(commandExecutorSchemaOperations == null) { List<CommandInterceptor> commandInterceptorsDbSchemaOperations = new ArrayList<CommandInterceptor>(); commandInterceptorsDbSchemaOperations.add(new LogInterceptor()); commandInterceptorsDbSchemaOperations.add(new CommandContextInterceptor(dbSchemaOperationsCommandContextFactory, this)); commandInterceptorsDbSchemaOperations.add(actualCommandExecutor); commandExecutorSchemaOperations = initInterceptorChain(commandInterceptorsDbSchemaOperations); } }
/** * provide custom command executor that uses NON-JTA transactions */ @Override protected void initCommandExecutorDbSchemaOperations() { if(commandExecutorSchemaOperations == null) { List<CommandInterceptor> commandInterceptorsDbSchemaOperations = new ArrayList<CommandInterceptor>(); commandInterceptorsDbSchemaOperations.add(new LogInterceptor()); commandInterceptorsDbSchemaOperations.add(new CommandContextInterceptor(dbSchemaOperationsCommandContextFactory, this)); commandInterceptorsDbSchemaOperations.add(actualCommandExecutor); commandExecutorSchemaOperations = initInterceptorChain(commandInterceptorsDbSchemaOperations); } }