Instead of handing over $domain it's better to hand over the complete key like "controller/extjs/product/export/text/default/container" and use this for retrieving the config because at some point it may be a totally different config key when it's used by a different class.