3 Replies Latest reply on Apr 5, 2008 5:52 PM by pmuir

    Injection at component instantiation time using annotations

    jensaug.jens.augustsson.eu

      Hi,


      Injection references at method invocation time is of course excellent, but I often also would like to inject references to Seam components, or some object from a Seam contexts, at component instantiation time.


      Currently I do this programatically in my @Create method by using Components.getInstance() and Contexts.getSessionContext().


      Is there any way to do this declaratively? Using annotations, not XML? Like @InAtInstantiation?


      br,
      Jens