X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmessagebus-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmessagebus%2Fspi%2FEventSourceRegistration.java;h=d885461b487d4347a89df75ff45a77f8fec229e2;hp=06af7c12c815f09bfc0ca6185e2601df375a531a;hb=5f587c3e2bfabc09fec49463d04a6fbeba414e9c;hpb=c31a6fcf9fb070d4419ca4c32d8b531fdcb5030d diff --git a/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSourceRegistration.java b/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSourceRegistration.java index 06af7c12c8..d885461b48 100644 --- a/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSourceRegistration.java +++ b/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSourceRegistration.java @@ -12,11 +12,9 @@ import org.opendaylight.yangtools.concepts.ObjectRegistration; /** * Instance of EventSourceRegistration is returned by {@link EventSourceRegistry#registerEventSource(EventSource)} * and it is used to unregister EventSource. - * */ -public interface EventSourceRegistration extends ObjectRegistration{ - +@Deprecated(forRemoval = true) +public interface EventSourceRegistration extends ObjectRegistration { @Override - public void close(); - + void close(); }