"adrian(a)jboss.org" wrote : You need to change the name of the INSTANCE scope for
scoped beans
| to include something that identifies the scoped controller, e.g.
|
|
| | new ScopeKey(CommonLevels.INSTANCE, scopedController.getScopeID() + "/"
name.toString());
| |
|
The scoped controller is only known in PreInstallAction,
where ScopeInfo is created when ControllerContext is created.
And in order to get the annotations that actually define which scoped controller the bean
belongs to,
you already need the INSTANCE value - see PreInstallAction.
Almost like chicken-n-egg. ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169882#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...