Merge "BUG-2243 Fixing invalid hello message handling"
[controller.git] / opendaylight / netconf / config-netconf-connector / src / main / java / org / opendaylight / controller / netconf / confignetconfconnector / operations / getconfig / RunningDatastoreQueryStrategy.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.controller.netconf.confignetconfconnector.operations.getconfig;
10
11 import java.util.Set;
12
13 import javax.management.ObjectName;
14
15 import org.opendaylight.controller.config.util.ConfigRegistryClient;
16
17 public class RunningDatastoreQueryStrategy implements DatastoreQueryStrategy {
18
19     @Override
20     public Set<ObjectName> queryInstances(ConfigRegistryClient configRegistryClient) {
21         return configRegistryClient.lookupConfigBeans();
22     }
23
24 }