I have a class with a name ApplicationConversionServiceFactoryBeanthat is configured inside webmvc-config.xml as a conversion service:
ApplicationConversionServiceFactoryBean
@RooConversionService
public class ApplicationConversionServiceFactoryBean extends FormattingConversionServiceFactoryBean {
@SuppressWarnings("deprecation")
@Override
protected void installFormatters(FormatterRegistry registry) {
super.installFormatters(registry);
}
}
part webmvc-config.xml
<mvc:annotation-driven conversion-service="applicationConversionService"/>
<bean class="com.palak.uauth.web.ApplicationConversionServiceFactoryBean" id="applicationConversionService"/>
I have an Eclipse Birt integrated with my application, which forces me to delete this line <mvc annotaion-driven />.
So, what am I doing to register my conversion service in any other way, so that I no longer have the mvc annotaion tag?
source
share