[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean definition as value add problem (JBMICROCONT-28)
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Jan 17 04:57:42 EST 2007
support for javabean ctors is working:
| <javabean xmlns="urn:jboss:javabean:2.0"
| class="org.jboss.test.javabean.support.SimpleBean">
| <!--
| public SimpleBean(Object anObject, String string, Byte byte1,
| Boolean boolean1, Character character, Short short1,
| Integer anInt, Long long1, Float float1, Double double1,
| Date date, BigDecimal bigDecimal, BigInteger bigInteger,
| byte abyte, boolean aboolean, char achar, short ashort,
| int anint2, long along, float afloat, double adouble,
| Number number, String overloadedProperty, String xyz, String abc)
| -->
| <constructor>
| <!-- The name is not used for parameter matching, its just for info -->
| <property name="anObject">anObjectValue</property>
| <property name="AString">StringValue</property>
| <property name="AByte">12</property>
| <property name="ABoolean">true</property>
| <property name="ACharacter">x</property>
| <property name="AShort">123</property>
| <property name="anInt">1234</property>
| <property name="ALong">12345</property>
| <property name="AFloat">3.14</property>
| <property name="ADouble">3.14e12</property>
| <property name="ADate">Jan 01 00:00:00 CET 2001</property>
| <property name="ABigDecimal">12e4</property>
| <property name="ABigInteger">123456</property>
| <property name="abyte">12</property>
| <property name="aboolean">true</property>
| <property name="achar">y</property>
| <property name="ashort">123</property>
| <property name="anint">1234</property>
| <property name="along">12345</property>
| <property name="afloat">3.14</property>
| <property name="adouble">3.14e12</property>
| <property name="ANumber" class="java.lang.Long">12345</property>
| <property name="overloadedProperty">StringValue</property>
| <property name="XYZ">XYZ</property>
| <property name="abc">abc</property>
| </constructor>
| </javabean>
|
I'm not able to check these changes in currently though as svn seems to still be down from the upgrade effort.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002672#4002672
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002672
More information about the jboss-dev-forums
mailing list