#include "component.h"
#include "config.h"

namespace NRTYServer {
    const TString TrieComponentName = "TRIE";
    const TString TrieIndexName = "index.trie";

    namespace {
        TRTYServerConfig::IComponentConfig::TFactory::TRegistrator<TTrieComponentConfig>
            registerConfig(NRTYServer::TrieComponentName);

        NRTYServer::IIndexComponent::TFactory::TRegistrator<TTrieComponent>
            registerComponent(NRTYServer::TrieComponentName);
    }
}
