Common initializer for OsidManager and OsidProxyManager

def _initialize(self, runtime):
        """Common initializer for OsidManager and OsidProxyManager"""

        if runtime is None:
            raise NullArgument()
        if self._my_runtime is not None:
            raise IllegalState('this manager has already been initialized.')
        self._my_runtime = runtime
        config = runtime.get_configuration()

        data_store_path_param_id = Id('parameter:dataStorePath@filesystem')
        data_store_path = config.get_value_by_parameter(data_store_path_param_id).get_string_value()

        # for deployments, also see if a "secondaryDataStorePath" exists
        secondary_data_store_path_param_id = Id('parameter:secondaryDataStorePath@filesystem')
        try:
            secondary_data_store_path = config.get_value_by_parameter(
                secondary_data_store_path_param_id).get_string_value()
            self._config_map['secondary_data_store_path'] = secondary_data_store_path
        except (AttributeError, KeyError, NotFound):
            pass

        # for deployments, also see if a "urlHostname" exists to prepend to the
        # assetContent.get_url() method
        url_hostname_param_id = Id('parameter:urlHostname@filesystem')
        try:
            url_hostname = config.get_value_by_parameter(
                url_hostname_param_id).get_string_value()
            self._config_map['url_hostname'] = url_hostname
        except (AttributeError, KeyError, NotFound):
            pass

        self._config_map['data_store_path'] = data_store_path

        # for convenience, also see if a "dataStoreFullPath" exists
        data_store_full_path_param_id = Id('parameter:dataStoreFullPath@filesystem')
        try:
            data_store_full_path = config.get_value_by_parameter(
                data_store_full_path_param_id).get_string_value()
            self._config_map['data_store_full_path'] = data_store_full_path
        except (AttributeError, KeyError, NotFound):
            pass