def __register_class(self, parsed_config):
methods = parsed_config.get('<STR_LIT>')<EOL>if not methods:<EOL><INDENT>return<EOL><DEDENT>service_classes = set()<EOL>for method in methods.itervalues():<EOL><INDENT>rosy_method = method.get('<STR_LIT>')<EOL>if rosy_method and '<STR_LIT:.>' in rosy_method:<EOL><INDENT>method_class = rosy_method.split('<STR_LIT:.>', <NUM_LIT:1>)[<NUM_LIT:0>]<EOL>service_classes.add(method_class)<EOL><DEDENT><DEDENT>for service_class in service_classes:<EOL><INDENT>if service_class in self.__registered_classes:<EOL><INDENT>raise api_exceptions.ApiConfigurationError(<EOL>'<STR_LIT>' % service_class)<EOL><DEDENT>self.__registered_classes.add(service_class)<EOL><DEDENT>
Register the class implementing this config, so we only add it once.

        Args:
          parsed_config: The JSON object with the API configuration being added.

        Raises:
          ApiConfigurationError: If the class has already been registered.