Deprecate ListenerRegistration for removal
[yangtools.git] / common / concepts / src / main / java / org / opendaylight / yangtools / concepts / ListenerRegistration.java
index 02d0d609259a08e35ef6e71fda1fc52ecdaf6df3..7022292b440a20d898942f72f0b1af5484924fbc 100644 (file)
@@ -14,7 +14,9 @@ import java.util.EventListener;
  * guarantee that the process of unregistration cannot fail for predictable reasons.
  *
  * @param <T> Type of registered listener
+ * @deprecated Use {@link ObjectRegistration} instead
  */
+@Deprecated(since = "12.0.0", forRemoval = true)
 public interface ListenerRegistration<T extends EventListener> extends ObjectRegistration<T> {
     /**
      * Unregister the listener. Note that invocations enqueued to the listener are not subject to synchronization