3 Replies Latest reply on Mar 25, 2008 10:20 AM by Adrian Brock

    Missing class scope in InstantiateAction

    Ales Justin Master

      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());
       // handle custom annotations

      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?