X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fyang-store-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fyang%2Fstore%2Fspi%2FYangStoreListener.java;fp=opendaylight%2Fconfig%2Fyang-store-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fyang%2Fstore%2Fspi%2FYangStoreListener.java;h=72c3d347c8b1dc56e0da453eae3af4ff6ffd2ad4;hb=85f16942a4a1ccdf1bc10213cdedfa09f7d325b8;hp=0000000000000000000000000000000000000000;hpb=71ade3766ac30f55774543c0985f67541a369c78;p=controller.git diff --git a/opendaylight/config/yang-store-api/src/main/java/org/opendaylight/controller/config/yang/store/spi/YangStoreListener.java b/opendaylight/config/yang-store-api/src/main/java/org/opendaylight/controller/config/yang/store/spi/YangStoreListener.java new file mode 100644 index 0000000000..72c3d347c8 --- /dev/null +++ b/opendaylight/config/yang-store-api/src/main/java/org/opendaylight/controller/config/yang/store/spi/YangStoreListener.java @@ -0,0 +1,23 @@ +/* + * 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.spi; + +import java.net.URL; +import java.util.Collection; + +/** + * Implementation of this interface gets notified when bundle containing yang files in META-INF/yang has been + * added or removed. One notification is sent per one bundle. + */ +public interface YangStoreListener { + + void onAddedYangURL(Collection url); + + void onRemovedYangURL(Collection url); + +}