"julien(a)jboss.com" wrote : Actually the way I am using it is rather dynamic and
it creates metadata at runtime using the Kernel metadata stuff and does not use XML or
Annotations.
|
That's fine. There would just be a BeanMetaData::getErrorHandlingMode()
which would get copied into a ControllerContext::setErrorHandlingMode(ErrorHandlingMode)
| public enum ErrorHandlingMode
| {
| DISCARD, // The default as now
| MANUAL, // What you want
| MANUAL_CHECKED, // As manual but RuntimeExceptions, Errors lead to a DISCARD
| }
|
That's why I called it "pseudo xml" :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131036#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...