2 * Copyright (c) 2015 Brocade Communications 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
9 package org.opendaylight.mdsal.eos.common.api;
11 import org.opendaylight.yangtools.concepts.Path;
14 * An interface for a class that listens for entity ownership changes.
16 * @author Thomas Pantelis
18 * @param <P> the instance identifier path type
19 * @param <C> the GenericEntityOwnershipChange type
21 public interface GenericEntityOwnershipListener<P extends Path<P>,
22 C extends GenericEntityOwnershipChange<P, ? extends GenericEntity<P>>> {
25 * A notification that is generated when the ownership status of an entity changes.
27 * @param ownershipChange contains the entity and its ownership change state
29 void ownershipChanged(C ownershipChange);