1 Reply Latest reply on Dec 18, 2006 11:43 AM by Gavin King

    newbie doubt about bijection

    Nicola Ben Novice

      I am reading seam manual and I have a doubt concerning the place where insert the @In annotation and its effect.
      From the manual I read:

      The @In annotation specifies that a value should be injected, either into an instance variable:
      public class LoginAction implements Login {
      @In User user;
      or into a setter method:
      public void setUser(User user) {

      In both the cases the effect will be the same?
      Or in the second case (@In into the method) the injection will be executed only when the method is called?

      Thank u,