"adrian(a)jboss.org" wrote : I haven't looked at the new Callback code
(InstallItems) in any detail yet,
| but I noticed immediately that the error handling is insufficient and can lead to
inconsistent behaviour/state.
|
Yup, I was waiting for some input, that's why I didn't close the JIRA task yet.
;-)
"adrian(a)jboss.org" wrote :
| 1) It should be asymmetrical with the install()
|
|
| | // Reverse order of the install()!
| | removeCallbacksFirst();
| | context.uninstall();
| |
|
Yes, I though of that.
But I need the uninstalling context to actually change its state.
For the CollectionCallbackItem to get its collection right on the uninstall phase - not
picking up the current uninstalling context.
But I'll try fix this.
"adrian(a)jboss.org" wrote :
| Let's not make the same mistakes with the new Microcontainer! :-)
:-)
Agreed.
Will add the necessary error handling.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039804#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...