X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2FRegistrationListener.java;h=3b3217db6ba8f5cde5dbc88c6ede86d8ea2a0147;hp=f6efd57f0663c5ff5409f0c4e634311bcb11cec0;hb=002fbfc6162f844721fcf9b2f9fbb21eefdff3a7;hpb=cf4834ff659cecdeb08a247679dfbf6b10f4ea73 diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/RegistrationListener.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/RegistrationListener.java index f6efd57f06..3b3217db6b 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/RegistrationListener.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/RegistrationListener.java @@ -1,12 +1,19 @@ +/* + * Copyright (c) 2014 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.md.sal.common.api; import java.util.EventListener; import org.opendaylight.yangtools.concepts.Registration; -public interface RegistrationListener> extends EventListener { +public interface RegistrationListener extends EventListener { void onRegister(T registration); - + void onUnregister(T registration); }