Hi!
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:
@Name("loginAction")
@Stateless
@Interceptors(SeamInterceptor.class)
public class LoginAction implements Login {
@In User user;
...
}
or into a setter method:
@In
public void setUser(User user) {
this.user=user;
}
They are equivalent.