Get a configuration class object in interface

In reply to adharshh:

You can pass the config object to the config_db and retrieve it in any other place.