add bean-like interface to DatabaseProvider