4 Replies Latest reply on May 9, 2008 5:20 PM by System Administrator

    injecting org.jboss.seam.contexts.Context

    System Administrator Expert

      when you inject org.jboss.seam.contexts.Context interface into a SFSB, what exactly happens?


      for example:


      @In 
      Context sessionContext;
      
      sessionContext.get("NtlmHttpAuth")).getDomain();
      



      what class is implementing Context at this point in the above get method call?


      The above code works as is in my SFSB. 


      Since Context does not implement the Serializable interface, must the instance variable be set to null in the @PrePassivate method prior to passivation?


      thx.