Class ForwardingDOMNotificationService
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- org.opendaylight.controller.md.sal.dom.spi.ForwardingDOMNotificationService
-
- All Implemented Interfaces:
DOMNotificationService
,DOMService
,DOMService
@Deprecated(forRemoval=true) public abstract class ForwardingDOMNotificationService extends ForwardingObject implements DOMNotificationService
Deprecated, for removal: This API element is subject to removal in a future version.UseForwardingDOMNotificationService
instead.Utility implementation of aDOMNotificationService
which forwards all requests to a delegate instance.
-
-
Constructor Summary
Constructors Constructor Description ForwardingDOMNotificationService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract DOMNotificationService
delegate()
Deprecated, for removal: This API element is subject to removal in a future version.<T extends DOMNotificationListener>
ListenerRegistration<T>registerNotificationListener(T listener, Collection<SchemaPath> types)
Deprecated, for removal: This API element is subject to removal in a future version.Register aDOMNotificationListener
to receive a set of notifications.<T extends DOMNotificationListener>
ListenerRegistration<T>registerNotificationListener(T listener, SchemaPath... types)
Deprecated, for removal: This API element is subject to removal in a future version.Register aDOMNotificationListener
to receive a set of notifications.-
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
-
-
-
Method Detail
-
delegate
protected abstract DOMNotificationService delegate()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
delegate
in classForwardingObject
-
registerNotificationListener
public <T extends DOMNotificationListener> ListenerRegistration<T> registerNotificationListener(T listener, Collection<SchemaPath> types)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DOMNotificationService
Register aDOMNotificationListener
to receive a set of notifications. As with other ListenerRegistration-based interfaces, registering an instance multiple times results in notifications being delivered for each registration.- Specified by:
registerNotificationListener
in interfaceDOMNotificationService
- Parameters:
listener
- Notification instance to registertypes
- Notification types which should be delivered to the listener. Duplicate entries are processed only once, null entries are ignored.- Returns:
- Registration handle. Invoking
ListenerRegistration.close()
will stop the delivery of notifications to the listener
-
registerNotificationListener
public <T extends DOMNotificationListener> ListenerRegistration<T> registerNotificationListener(T listener, SchemaPath... types)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DOMNotificationService
Register aDOMNotificationListener
to receive a set of notifications. As with other ListenerRegistration-based interfaces, registering an instance multiple times results in notifications being delivered for each registration.- Specified by:
registerNotificationListener
in interfaceDOMNotificationService
- Parameters:
listener
- Notification instance to registertypes
- Notification types which should be delivered to the listener. Duplicate entries are processed only once, null entries are ignored.- Returns:
- Registration handle. Invoking
ListenerRegistration.close()
will stop the delivery of notifications to the listener
-
-