Back Forum Reply New

Annotation for quot;factory-method=quot; xml ?

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

What or is there an annotation for quot;lt;bean id=quot;SomeEnumClassquot; class=quot;com.blah.SomeEnumClassquot; factory-method=quot;valueOfquot;gt;   lt;constructor-arggt;       lt;valuegt;INSTANCElt;/valuegt;   lt;/constructor-arggt;
lt;/beangt;   

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
¥
Back Forum Reply New