Class MessageInterpolatorFactory
- java.lang.Object
- org.springframework.boot.validation.MessageInterpolatorFactory
- All Implemented Interfaces:
org.springframework.beans.factory.ObjectFactory<javax.validation.MessageInterpolator>
public class MessageInterpolatorFactory extends Object implements org.springframework.beans.factory.ObjectFactory<javax.validation.MessageInterpolator>
ObjectFactory
that can be used to create aMessageInterpolator
. Attempts to pick the most appropriateMessageInterpolator
based on the classpath.
Constructor Summary
Constructors Constructor Description MessageInterpolatorFactory()
Constructor Detail
MessageInterpolatorFactory
public MessageInterpolatorFactory()
Method Detail
getObject
public javax.validation.MessageInterpolator getObject() throws org.springframework.beans.BeansException
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.ObjectFactory<javax.validation.MessageInterpolator>
- Throws:
org.springframework.beans.BeansException