Remove DOMDataTreeProducer-related classes
[controller.git] / opendaylight / md-sal / messagebus-spi / src / main / java / org / opendaylight / controller / messagebus / spi / EventSourceRegistry.java
index 8f9b53074dd70d4dfd7119b3945869be055b4d62..1d1980fc36c83779c8364386b3b91681f9aa7f65 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.controller.messagebus.spi;
 /**
  * EventSourceRegistry is used to register {@link EventSource}.
  */
+@Deprecated(forRemoval = true)
 public interface EventSourceRegistry extends AutoCloseable {
 
     /**
@@ -17,8 +18,8 @@ public interface EventSourceRegistry extends AutoCloseable {
      * 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()}.
+     * @return an EventSourceRegistration instance that is used to unregister the EventSource
+     *         via {@link EventSourceRegistration#close()}.
      */
     <T extends EventSource> EventSourceRegistration<T> registerEventSource(T eventSource);
-
 }