org.springframework.roo.addon.web.mvc.controller
Annotation Type RooConversionService


@Retention(value=SOURCE)
@Target(value=TYPE)
public @interface RooConversionService

Designates a class as the application-wide conversion service for registering application Converters and Formatters. This conversion service is typically automatically installed by Spring ROO at the same time and in the same package as the first controller created through the "controller" command.

The installed conversion service is a sub-type of FormattingConversionServiceFactoryBean. The installFormatters method can be used to manually install application converters and formatters. In additional ROO will generate methods to register converters for all application domain types that may need to be displayed as Strings in drop-downs as well as in various places in the UI.

Since:
1.1.1
Author:
Rossen Stoyanchev



Copyright © 2011. All Rights Reserved.