Package com.consol.citrus.validation
Class MessageValidatorRegistryFactory
- java.lang.Object
-
- com.consol.citrus.validation.MessageValidatorRegistryFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.FactoryBean<com.consol.citrus.validation.MessageValidatorRegistry>
,org.springframework.context.ApplicationContextAware
public class MessageValidatorRegistryFactory extends Object implements org.springframework.beans.factory.FactoryBean<com.consol.citrus.validation.MessageValidatorRegistry>, org.springframework.context.ApplicationContextAware
Registry factory bean automatically adds all message validators that live in the Spring bean application context. The validators that are located in the Spring bean application context may overwrite existing default message validators that have the same name.- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description MessageValidatorRegistryFactory()
MessageValidatorRegistryFactory(com.consol.citrus.validation.MessageValidatorRegistry messageValidatorRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.consol.citrus.validation.MessageValidatorRegistry
getObject()
Class<?>
getObjectType()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
getObject
public com.consol.citrus.validation.MessageValidatorRegistry getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<com.consol.citrus.validation.MessageValidatorRegistry>
- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<com.consol.citrus.validation.MessageValidatorRegistry>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-