2 * Copyright (c) 2018 Inocybe Technologies and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.cluster.datastore;
11 import org.eclipse.jdt.annotation.NonNullByDefault;
12 import org.eclipse.jdt.annotation.Nullable;
13 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
16 * Factory for creating {@link DatastoreContextIntrospector} instances.
18 * @author Thomas Pantelis
21 public interface DatastoreContextIntrospectorFactory {
23 * Create a new {@link DatastoreContextIntrospector} initialized with specified properties.
25 * @param datastoreType Datastore type
26 * @param properties optional initial properties
27 * @return A new DatastoreContextIntrospector
29 DatastoreContextIntrospector newInstance(LogicalDatastoreType datastoreType,
30 @Nullable Map<String, Object> properties);