2 * Copyright (c) 2013 Cisco Systems, Inc. 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.config.yang.store.api;
10 import org.opendaylight.controller.config.yang.store.spi.YangStoreListener;
13 * Yang store OSGi service
15 public interface YangStoreService {
18 * Module entry objects mapped to module names and namespaces.
20 * @return actual view of what is available in OSGi service registry.
22 YangStoreSnapshot getYangStoreSnapshot() throws YangStoreException;
26 * Allows for registering for change notifications.
28 YangStoreListenerRegistration registerListener(YangStoreListener listener);