I see that Spring has a @Required
annotation to mark member variables in beans that must be set.
Is there a best practice for using this?
For instance, might it be better to set these values in the constructor and make these parameters explicitly required (esp. when used outside of Spring)?
Thanks!