@Beta public class BindingDOMMountPointServiceAdapter extends Object implements MountPointService
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
BindingDOMMountPointServiceAdapter(DOMMountPointService mountService,
BindingToNormalizedNodeCodec codec) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<MountPoint> |
getMountPoint(InstanceIdentifier<?> mountPoint)
Returns optional of mount point at given path represented by instance identifier.
|
<T extends MountPointListener> |
registerListener(InstanceIdentifier<?> path,
T listener)
Register a
MountPointListener instance. |
public BindingDOMMountPointServiceAdapter(DOMMountPointService mountService, BindingToNormalizedNodeCodec codec)
public com.google.common.base.Optional<MountPoint> getMountPoint(InstanceIdentifier<?> mountPoint)
MountPointServicegetMountPoint in interface MountPointServicemountPoint - mount point instance identifierpublic <T extends MountPointListener> org.opendaylight.yangtools.concepts.ListenerRegistration<T> registerListener(InstanceIdentifier<?> path, T listener)
MountPointServiceMountPointListener instance. Once registered, the listener will start
receiving changes on the selected path.registerListener in interface MountPointServiceT - listener typepath - given path to listen to changeslistener - MountPointListener that is being registeredListenerRegistration.close() to stop
delivery of mount point change events.Copyright © 2018 OpenDaylight. All rights reserved.