How to assign bean’s property an Enum value in Spring config file?

Have you tried just “TYPE1”? I suppose Spring uses reflection to determine the type of “type” anyway, so the fully qualified name is redundant. Spring generally doesn’t subscribe to redundancy!

Leave a Comment