"adrian(a)jboss.org" wrote :
| I guess this is because it doesn't look like DefaultScopeBuilder in the deployers
knows
| anything about classes when creating component scopes?
| It just adds the INSTANCE level to the DEPLOYMENT/APPLICATION
Yup, my guess would be we're then missing this
| public AbstractScopeInfo(Object name, String className)
| {
| if (name == null)
| throw new IllegalArgumentException("Null scope");
|
| ScopeKey scopeKey = ScopeKey.DEFAULT_SCOPE.clone();
| scopeKey.addScope(CommonLevels.INSTANCE, name.toString());
| if (className != null)
| scopeKey.addScope(CommonLevels.CLASS, className);
| setScope(scopeKey);
| setMutableScope(new ScopeKey(CommonLevels.INSTANCE, name.toString()));
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185143#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...