"adrian(a)jboss.org" wrote :
| So another fix would be to somehow make the Deployer's ScopeBuilder
| somehow aware of the class scope when it creates the component scope.
|
ScopeBuilder per attachment type?
| public static ScopeBuilder getScopeBuilder(DeploymentContext deploymentContext)
| {
| if (deploymentContext == null)
| throw new IllegalArgumentException("Null deployment context");
| ScopeBuilder builder =
deploymentContext.getTransientAttachments().getAttachment(ScopeBuilder.class);
| if (builder != null)
| return builder;
| DeploymentContext parent = deploymentContext.getParent();
| if (parent != null)
| return getScopeBuilder(parent);
| return DefaultScopeBuilder.INSTANCE;
| }
|
Setting BeanMD aware ScopeBuilder?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185150#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...