In the case of missing "value" in XML, I'd prefer a Deployment Exception:
if (config.getValue() != null && !config.getValue().trim().equals(""))
| {
| poolAnnotation.setValue(config.getValue());
| }
| else
| {
| throw new RuntimeException("detailed message");
| }
|
...instead of a default; let the bean provider know they must specify a registered Pool
implementation if they're going to perform an override in jboss.xml.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105595#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...