Initial code drop of yang model driven configuration system
[controller.git] / opendaylight / config / yang-store-api / src / main / java / org / opendaylight / controller / config / yang / store / api / YangStoreService.java
diff --git a/opendaylight/config/yang-store-api/src/main/java/org/opendaylight/controller/config/yang/store/api/YangStoreService.java b/opendaylight/config/yang-store-api/src/main/java/org/opendaylight/controller/config/yang/store/api/YangStoreService.java
new file mode 100644 (file)
index 0000000..15619a8
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.controller.config.yang.store.api;
+
+/**
+ * Yang store OSGi service
+ */
+public interface YangStoreService {
+
+    /**
+     * Module entry objects mapped to module names and namespaces.
+     *
+     * @return actual view of what is available in OSGi service registry.
+     */
+    YangStoreSnapshot getYangStoreSnapshot() throws YangStoreException;
+
+}