I have a Enum that I need to convert to various values, a String and an int, for injection into some other classes. I have been googling like crazy to figure this out, and it seems like I should be able to do it with a TypeConverter or a PropertyEditor.
I did manage it implement a generic PropertyEditor with the getAsText() and setAsText() methods, but Spring is still coughing on startup.
I still have not found out how to implement and register a custom TypeConverter, or found any information saying this is not what I really want.
Can anyone help here?