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

前端 未结 9 936
遥遥无期
遥遥无期 2020-11-28 06:16

I have a standalone enum type defined, something like this:

package my.pkg.types;

public enum MyEnumType {
    TYPE1,
    TYPE2
}

Now, I w

9条回答
提交回复
热议问题