// Wrapper provides locking and changing of session settings functionality
this.executor = new ExecutorWrapper(executor, this.timeout, this.adivsoryLock);
}
if (useValidation) {
this.executor = new ValidationExecutorWrapper(this.executor);
}
if (valueTransformerForClass != null) {
// we need to transform the return value by the global value transformer.