"alesj" wrote :
| What's the way to update ScopeInfo/MetaData with class information?
| ScopeInfo scopeInfo = context.getScopeInfo();
| ScopeKey scopeKey = new ScopeKey();
| for (Scope scope : scopeInfo.getScope().getScopes())
| scopeKey.addScope(scope);
| scopeKey.addScope(CommonLevels.CLASS, info.getClassInfo().getType());
| scopeInfo.setScope(scopeKey);
|
|
OK, adding this after the BeanInfo has been set helps, since the metadata
'repairs' itself.
But is this the right way? :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138699#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...