Comman of chain pattern implementation with spring IOC