KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I searched for the below problem, but couldn't find an answer. I want to use spring's conversion service by writing my custom converter that implements org.springframework.core.convert.converter.Converter . Then i add my custom converter as below: <bean id="conversionService" class="org.springframework.context.support.ConversionServiceFactoryBean"> <property name="converters"> <list> <bean id="StringToLoggerConverter" class="com.citi.spring.converter.LoggerConverter" /> </list> </property> </bean> When doing the above my application initialization fails, because i am overriding bean conversionService and registering only my custom converter. How can i not override the conversionService and only add my custom converter to the list of converters, at the same time keeping the existing ones? Thanks in advance.
Tags (comma-separated)
Save Edits
Cancel