Is there a way to set up such enum values via Spring IoC at construction time?
What I would like to do is to inject, at class load time, values that are hard-coded i
You can use Enum class as factory bean. Example: setting serializationInclusion field with enum value:
NON_NULL
But actually (Spring 3.1) a simpler solution works: you just write the enum value and Spring recognizes what to do: