Database connection checker injected to bean.