[spring] Added nonsingletone sample.