Interface GenericEntityOwnershipListenerRegistration<P extends Path<P>,L extends GenericEntityOwnershipListener<P,? extends GenericEntityOwnershipChange<P,? extends GenericEntity<P>>>>
-
- Type Parameters:
P
- the instance identifier path type
- All Superinterfaces:
AutoCloseable
,ObjectRegistration<L>
,Registration
- All Known Subinterfaces:
DOMEntityOwnershipListenerRegistration
,EntityOwnershipListenerRegistration
- All Known Implementing Classes:
AbstractGenericEntityOwnershipListenerRegistration
public interface GenericEntityOwnershipListenerRegistration<P extends Path<P>,L extends GenericEntityOwnershipListener<P,? extends GenericEntityOwnershipChange<P,? extends GenericEntity<P>>>> extends ObjectRegistration<L>
An interface that records a request to register a ownership status change listener for a given Entity. Calling close on the registration will unregister listeners and future ownership changes will not be delivered to the listener.- Author:
- Thomas Pantelis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Unregister the listener.@NonNull String
getEntityType()
getEntityType method returns not null entity type.-
Methods inherited from interface org.opendaylight.yangtools.concepts.ObjectRegistration
getInstance
-
-
-
-
Method Detail
-
getEntityType
@NonNull String getEntityType()
getEntityType method returns not null entity type.- Returns:
- the entity type that the listener was registered for
-
close
void close()
Unregister the listener.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceRegistration
-
-