[jboss-dev-forums] [Design of POJO Server] - ManagedProperty value type
alesj
do-not-reply at jboss.com
Thu Oct 4 13:29:28 EDT 2007
What's the idea behind value's type in ManagedProperty?
Since I see we are mixing the usage.
For getValue we are expecting SimpleValue
| assertEquals("jndi-name", SimpleValueSupport.wrap("DefaultDS"), p.getValue());
|
but for setValue we push plain value
| ManagedProperty minSize = props.get("min-pool-size");
| minSize.setValue(new Integer(13));
|
How do you then know what is value's type?
Or is the code that should change server side value to SimpleValue still missing?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091669#4091669
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091669
More information about the jboss-dev-forums
mailing list