hello.. simple question but i cannot seem the find any answer online/onforums..

What or is there an annotation for "


<bean id="SomeEnumClass" class="com.blah.SomeEnumClass" factory-method="valueOf">
<constructor-arg>
<value>INSTANCE</value>
</constructor-arg>
</bean>

I would like to replace this xml fragment with in code annotation if possible.. The above fragment works fine

p.s. not sure if this is the right forum - mods please move to more appropriate thread if necessary