This content has been marked as final.
Show 2 replies
-
1. Re: Overloaded constructor confusion
adrian.brock Feb 28, 2006 11:09 AM (in response to kabirkhan)Yes it could, there are already feature requests to make this more intuitive.
The default behaviour is geared towards string values
where it needs to know which constructor you want to use to convert strings
into the parameter type.<bean name="ConnectionFactory" class="org.jboss.mq.SpyConnectionFactory"> <constructor> <parameter class="java.util.Properties">foo=bar</parameter> </constructor> </bean>
-
2. Re: Overloaded constructor confusion
kabirkhan Feb 28, 2006 11:26 AM (in response to kabirkhan)OK, so I will update the tests to expicitly choose the constructor to use