@staticmethod<EOL><INDENT>@inject(config=Config)<EOL>def initialize(config):<DEDENT>
service_injection_config = config.get('<STR_LIT>', ())<EOL>if not isinstance(service_injection_config, (tuple, list)):<EOL><INDENT>service_injection_config = (service_injection_config,)<EOL><DEDENT>for si_conf in service_injection_config:<EOL><INDENT>if isinstance(si_conf, str):<EOL><INDENT>package_name, cls_name = si_conf.rsplit('<STR_LIT:.>', <NUM_LIT:1>)<EOL>ServiceInitializer._bind_service(package_name, cls_name)<EOL><DEDENT>elif isinstance(si_conf, dict):<EOL><INDENT>services = si_conf['<STR_LIT:list>']<EOL>service_package = si_conf['<STR_LIT>']<EOL>for cls_name in services:<EOL><INDENT>module_name = camelcase_to_underscore(cls_name)<EOL>package_name = "<STR_LIT>".format(service_package, module_name)<EOL>ServiceInitializer._bind_service(package_name, cls_name)<EOL><DEDENT><DEDENT><DEDENT>
Initialize method.

        :param config: current application config, injected
        :type config: Config