manage bean by spring