All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anaptecs.spring.impl.ValidationExecutorConfig Maven / Gradle / Ivy

There is a newer version: 1.24.1
Show newest version
package com.anaptecs.spring.impl;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

import com.anaptecs.jeaf.validation.api.ValidationExecutor;

@Configuration
public class ValidationExecutorConfig {
  @Bean
  @Primary
  ValidationExecutor createValidationExecutor( ) {
    return new ValidationExecutor() {

      @Override
      public void validateResponse( Class pService, Object pResponseObject ) {
      }

      @Override
      public void validateRequest( Class pService, Object... pRequestParameters ) {
      }

      @Override
      public void validateObject( Object pObject ) {
      }
    };
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy