Class AbstractObjectRegistration<T>

java.lang.Object
org.opendaylight.yangtools.concepts.AbstractRegistration
org.opendaylight.yangtools.concepts.AbstractObjectRegistration<T>
All Implemented Interfaces:
AutoCloseable, ObjectRegistration<T>, Registration
Direct Known Subclasses:
AbstractListenerRegistration, AbstractSchemaSourceRegistration, AbstractYangTextSchemaSourceRegistration

public abstract class AbstractObjectRegistration<T> extends AbstractRegistration implements ObjectRegistration<T>
Utility registration handle. It is a convenience for register-style method which can return an AutoCloseable realized by a subclass of this class. Invoking the close() method triggers unregistration of the state the method installed.