[jboss-dev-forums] [JBoss Transactions Development] - beanifying the config
Jonathan Halliday
do-not-reply at jboss.com
Thu Apr 1 07:03:51 EDT 2010
Jonathan Halliday [http://community.jboss.org/people/jhalliday] replied to the discussion
"beanifying the config"
To view the discussion, visit: http://community.jboss.org/message/535146#535146
--------------------------------------------------------------
Fine. In the short term that won't work because the boot sequence includes initializing the bean from the properties file and then from the '3rd party' bean injection framework (JBossMC), so we can't base the locking on number of setter invocations. We would need an explicit 'getAndLock' rather than 'get' to allow the point of use to disallow further changes. Which really is a special case of the aforementioned event mechanism and winds up looking a lot like javabeans property change listener/veto.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535146#535146]
Start a new discussion in JBoss Transactions Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2041]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100401/8e3e0927/attachment.html
More information about the jboss-dev-forums
mailing list