[spring] jsr 330 inject

also code reformatting