Spring hybrid config