[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: WriteThroughManagedPropertyImpl
adrian@jboss.org
do-not-reply at jboss.com
Fri Aug 3 11:48:27 EDT 2007
"scott.stark at jboss.org" wrote : Its really just for the existing tests and can be moved into the tests layer. The tests were not setup to allow for introduction of a writeback java bean aspect. If the ManagementObject.fieldsFactory is to be useful, then a factory interface that allows the underlying attachment to be passed to the Fields implementation is needed.
|
I don't know what ManagementObejct.fieldsFactory is?
Are you talking about the annotation or something else?
It should be upto the caller (deployer or overrides) to decide how to generate the fields,
i.e.
1) it is a flattened javabean tree
2) it is a hierarchy of ManagedObjects/MetaValues from the javabeans
3) it is from an MBean definition
4) it represents a XML DOM
5) something else
etc.
The only one I'd implemented was (2) and then that wasn't complete,
e.g. it didn't update the javabean in the setValue().
That is unless you count the crappy MockDomFields in the testsuite. :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070689#4070689
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070689
More information about the jboss-dev-forums
mailing list