Created
April 22, 2013 15:06
-
-
Save noroutine/5435769 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configurable | |
public class ApplicationFormattingConversionServiceFactoryBean | |
extends FormattingConversionServiceFactoryBean { | |
/.../ | |
@Override | |
public void afterPropertiesSet() { | |
super.afterPropertiesSet(); | |
installLabelConverters(getObject()); | |
} | |
public void installLabelConverters(FormatterRegistry registry) { | |
// Register application converters and formatters | |
registry.addConverter(new UserGroupConverter()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment