summaryrefslogtreecommitdiffstats
path: root/dummy-persistence/src/main/java/com/yahoo/persistence/dummy/DummyPersistenceProviderHandler.java
blob: 34e7a948b76f4c9c97777b0112458c61af5d8f21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.persistence.dummy;

import com.yahoo.document.DocumentTypeManager;
import com.yahoo.document.config.DocumentmanagerConfig;
import com.yahoo.persistence.rpc.PersistenceProviderHandler;

public class DummyPersistenceProviderHandler {
    DummyPersistenceProvider provider;

    public DummyPersistenceProviderHandler(PersistenceProviderHandler rpcHandler, DocumentmanagerConfig docManConfig) {
        provider = new DummyPersistenceProvider();
        rpcHandler.initialize(provider, new DocumentTypeManager(docManConfig));
    }
}