com.consol.citrus.validation.DefaultMessageValidatorRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of citrus-base Show documentation
Show all versions of citrus-base Show documentation
Citrus base and default implementation
package com.consol.citrus.validation;
/**
* Default registry adds default message validators located via resource path lookup. This adds
* all validators present on the classpath.
*
* @author Christoph Deppisch
*/
public class DefaultMessageValidatorRegistry extends MessageValidatorRegistry {
/**
* Default constructor adds message validator implementations from resource path lookup.
*/
public DefaultMessageValidatorRegistry() {
MessageValidator.lookup().forEach(this::addMessageValidator);
}
}