0 Replies Latest reply on Mar 12, 2009 6:57 PM by Arbi Sookazian

    injection order

    Arbi Sookazian Master

      Does Seam inject variables in a particular order?


      e.g.


      @Name("authenticator")
      @Stateless
      public class Authenticator implements AuthenticatorLocal {
                
           @In(value = "allSecurityRoles", create = true)
           private List<SecurityRole> securityRoles;
      
              @In(required = true)
           private Map roleGroupSids;
      ...
      }



      So does the securityRoles object always get injected before the roleGroupSids object before a method in this class is executed?


      I'm pretty sure that Guice does not guarantee the order of injection via @Inject...