I'm trying to apply IoC annotations to beans that only get their BeanInfo available in
InstantiateAction.
| if (info == null)
| {
| info = configurator.getBeanInfo(object.getClass(),
metaData.getAccessMode());
| context.setBeanInfo(info);
| // handle custom annotations
| applyAnnotations(context);
| }
|
But I'm missing class scope (CommonLevels.CLASS) if the bean has no bean attribute
defined in BeanMetaData, meaning it's gonna be constructed from some factory.
Hence none of the class annotations are found in metadata.
What's the way to update ScopeInfo/MetaData with class information?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138696#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...