-
Nov 7th, 2009, 06:08 AM
#1
Annotation for "factory-method=" xml ?
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules