X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmessagebus-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmessagebus%2Fspi%2FEventSourceRegistry.java;fp=opendaylight%2Fmd-sal%2Fmessagebus-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmessagebus%2Fspi%2FEventSourceRegistry.java;h=0000000000000000000000000000000000000000;hb=e258e0fef2bc38e35f09354f0fdd5136c69ad1a7;hp=1d1980fc36c83779c8364386b3b91681f9aa7f65;hpb=5f587c3e2bfabc09fec49463d04a6fbeba414e9c;p=controller.git diff --git a/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSourceRegistry.java b/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSourceRegistry.java deleted file mode 100644 index 1d1980fc36..0000000000 --- a/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSourceRegistry.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2015 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.messagebus.spi; - -/** - * EventSourceRegistry is used to register {@link EventSource}. - */ -@Deprecated(forRemoval = true) -public interface EventSourceRegistry extends AutoCloseable { - - /** - * Registers the given EventSource for public consumption. The EventSource is - * associated with the node identified via {@link EventSource#getSourceNodeKey}. - * - * @param eventSource the EventSource instance to register - * @return an EventSourceRegistration instance that is used to unregister the EventSource - * via {@link EventSourceRegistration#close()}. - */ - EventSourceRegistration registerEventSource(T eventSource); -}