@Configuration @ConditionalOnClass(value=javax.validation.Validator.class) public static class CouchbaseDataAutoConfiguration.ValidationConfiguration extends Object
Constructor and Description |
---|
ValidationConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.couchbase.core.mapping.event.ValidatingCouchbaseEventListener |
validationEventListener(Validator validator) |
@Bean @ConditionalOnBean(value=javax.validation.Validator.class) public org.springframework.data.couchbase.core.mapping.event.ValidatingCouchbaseEventListener validationEventListener(Validator validator)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.