[jboss-dev-forums] [JBoss Transactions Development] - beanifying the config

Mark Little do-not-reply at jboss.com
Thu Apr 1 05:58:21 EDT 2010


Mark Little [http://community.jboss.org/people/mark.little%40jboss.com] replied to the discussion

"beanifying the config"

To view the discussion, visit: http://community.jboss.org/message/535129#535129

--------------------------------------------------------------
"which misses the point of DI. There has to be a setter or the framework (Spring/JBossMC) can't set a value in the first place. The startup IS programmatic. Even our standalone propertyFile->Bean loading works by reflection on the setters now."

There are some properties that simply cannot be changed once the system is running. So if we must have setters they should do nothing or print a warning and do nothing.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/535129#535129]

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/75e9738f/attachment.html 


More information about the jboss-dev-forums mailing list