Class BindingDOMNotificationServiceAdapter
- java.lang.Object
-
- org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationServiceAdapter
-
- All Implemented Interfaces:
AutoCloseable,BindingService,NotificationService,BindingAwareService
@Deprecated(forRemoval=true) public class BindingDOMNotificationServiceAdapter extends Object implements NotificationService, AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Field Summary
Fields Modifier and Type Field Description static org.opendaylight.controller.md.sal.binding.impl.BindingDOMAdapterBuilder.Factory<NotificationService>BUILDER_FACTORYDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description BindingDOMNotificationServiceAdapter(BindingNormalizedNodeSerializer codec, DOMNotificationService domNotifService)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated, for removal: This API element is subject to removal in a future version.DOMNotificationServicegetDomService()Deprecated, for removal: This API element is subject to removal in a future version.<T extends NotificationListener>
ListenerRegistration<T>registerNotificationListener(T listener)Deprecated, for removal: This API element is subject to removal in a future version.Registers a listener which implements a YANG-generated notification interface derived fromNotificationListener.
-
-
-
Field Detail
-
BUILDER_FACTORY
public static final org.opendaylight.controller.md.sal.binding.impl.BindingDOMAdapterBuilder.Factory<NotificationService> BUILDER_FACTORY
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Detail
-
BindingDOMNotificationServiceAdapter
public BindingDOMNotificationServiceAdapter(BindingNormalizedNodeSerializer codec, DOMNotificationService domNotifService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
registerNotificationListener
public <T extends NotificationListener> ListenerRegistration<T> registerNotificationListener(T listener)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:NotificationServiceRegisters a listener which implements a YANG-generated notification interface derived fromNotificationListener. The listener is registered for all notifications present in the implemented interface.- Specified by:
registerNotificationListenerin interfaceNotificationService- Parameters:
listener- the listener implementation that will receive notifications.- Returns:
- a
ListenerRegistrationinstance that should be used to unregister the listener by invoking theListenerRegistration.close()method when no longer needed.
-
close
public void close()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
closein interfaceAutoCloseable
-
getDomService
public DOMNotificationService getDomService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-