I have a configuration bean that has a list of allowed values:
@Component public class Conf { public List<String> getAllowedValues() { return Arrays.asList("A", ...
@Component public class Conf { public List getAllowedValues() { return Arrays.asList("A", "B", "C", "D"); }