[jboss-dev-forums] [Design the new POJO MicroContainer] - JBMICROCONT-99 Classloader for AbstractAnnotationMetaData to

kabir.khan@jboss.com do-not-reply at jboss.com
Fri Jul 13 11:36:34 EDT 2007


We currently use the TCL to load up the annotation

  |  public Annotation getAnnotationInstance()
  |    {
  |         ...
  |          //FIXME [JBMICROCONT-99] [JBAOP-278] Use the loader for the bean?
  |          ann = (Annotation)AnnotationCreator.createAnnotation(annString, Thread.currentThread().getContextClassLoader());
  |         ...
  |    }
  | 

Is this a correct assumption? Since this is called as part of the PreInstallAction, I am not sure if we have other choices at this stage?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064056#4064056

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064056



More information about the jboss-dev-forums mailing list