summaryrefslogtreecommitdiffstats
path: root/dummy-persistence/src/main/java/com/yahoo/persistence/dummy/DummyPersistenceProviderHandler.java
blob: ea36f158f62824db02c66405d9278fd0d5cbf00d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2016 Yahoo Inc. 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));
    }
}