2 * Copyright (c) 2017 Pantheon Technologies s.r.o. 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
9 package org.opendaylight.mdsal.binding.javav2.api;
11 import com.google.common.annotations.Beta;
12 import java.util.EventListener;
13 import org.opendaylight.mdsal.binding.javav2.spec.base.InstanceIdentifier;
16 * Interface implemented by classes interested in receiving notifications about
17 * mount point changes.
20 public interface MountPointListener extends EventListener {
23 * Invoked whenever mount point is created at given path represented by instance identifier.
24 * @param path given path
26 void onMountPointCreated(InstanceIdentifier<?> path);
29 * Invoked whenever mount point is removed from given path represented by instance identifier.
30 * @param path given path
32 void onMountPointRemoved(InstanceIdentifier<?> path);