Class RegistrationCloser<K,C>

java.lang.Object
org.opendaylight.openflowplugin.openflow.md.core.extension.RegistrationCloser<K,C>
Type Parameters:
K - converter key
C - converter instance
All Implemented Interfaces:
AutoCloseable, org.opendaylight.yangtools.concepts.ObjectRegistration<C>, org.opendaylight.yangtools.concepts.Registration
Direct Known Subclasses:
RegistrationCloser.RegistrationCloserActionFromOFJava, RegistrationCloser.RegistrationCloserActionToOFJava, RegistrationCloser.RegistrationCloserFromOFJava, RegistrationCloser.RegistrationCloserMessageFromOFJava, RegistrationCloser.RegistrationCloserMessageToOFJava, RegistrationCloser.RegistrationCloserToOFJava

public abstract class RegistrationCloser<K,C> extends Object implements org.opendaylight.yangtools.concepts.ObjectRegistration<C>
Closes converter registrations.
  • Constructor Details

    • RegistrationCloser

      public RegistrationCloser()
  • Method Details

    • setRegistrator

      public void setRegistrator(ExtensionConverterManagerImpl registrator)
      Sets the registrator.
      Parameters:
      registrator - the registrator to set
    • setKey

      public void setKey(K key)
      Sets the key.
      Parameters:
      key - the key to set
    • setConverter

      public void setConverter(C converter)
      Sets the converter.
      Parameters:
      converter - the converter to set
    • getRegistrator

      public ExtensionConverterManagerImpl getRegistrator()
      Returns the registrator.
    • getKey

      public K getKey()
      Returns the key.
    • getConverter

      public C getConverter()
      Returns the converter.
    • getInstance

      public C getInstance()
      Specified by:
      getInstance in interface org.opendaylight.yangtools.concepts.ObjectRegistration<K>