Is it possible to have a "NotRequired" annotation?
Hello everyone. I'm relatively new to Spring, and my question is this: Is it possible to have the reverse semantics of the "Required" annotation? That is, I would like to enforce all dependencies to be set throughout my project unless if a setter is marked with something like e.g. "NotRequired" or "Optional". After looking at the manual I am under the impression that this is not supported. Still, I would appreciate some advice on what would be the best way to do it. Will I have to put in some custom logic in my code or is there a better way?
thanks,
Alex