Class OSGiRIBExtensionConsumerContext

java.lang.Object
org.opendaylight.protocol.bgp.rib.spi.OSGiRIBExtensionConsumerContext
All Implemented Interfaces:
RIBExtensionConsumerContext

public final class OSGiRIBExtensionConsumerContext extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    OSGiRIBExtensionConsumerContext(org.opendaylight.yangtools.binding.data.codec.api.BindingNormalizedNodeSerializer mappingCodec, List<RIBExtensionProviderActivator> extensionActivators)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final <C extends Routes & org.opendaylight.yangtools.binding.DataObject & org.opendaylight.yangtools.binding.ChoiceIn<Tables>, S extends org.opendaylight.yangtools.binding.ChildOf<C>>
    RIBSupport<C,S>
    Acquire a RIB implementation factory for a AFI/SAFI combination.
    final <C extends Routes & org.opendaylight.yangtools.binding.DataObject & org.opendaylight.yangtools.binding.ChoiceIn<Tables>, S extends org.opendaylight.yangtools.binding.ChildOf<C>>
    RIBSupport<C,S>
    Acquire a RIB implementation factory for a AFI/SAFI combination.
    final <C extends Routes & org.opendaylight.yangtools.binding.DataObject & org.opendaylight.yangtools.binding.ChoiceIn<Tables>, S extends org.opendaylight.yangtools.binding.ChildOf<C>>
    RIBSupport<C,S>
    getRIBSupport(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates key)
    Acquire a RIB implementation factory for a AFI/SAFI combination.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OSGiRIBExtensionConsumerContext

      public OSGiRIBExtensionConsumerContext(org.opendaylight.yangtools.binding.data.codec.api.BindingNormalizedNodeSerializer mappingCodec, List<RIBExtensionProviderActivator> extensionActivators)
  • Method Details

    • getRIBSupport

      public final <C extends Routes & org.opendaylight.yangtools.binding.DataObject & org.opendaylight.yangtools.binding.ChoiceIn<Tables>, S extends org.opendaylight.yangtools.binding.ChildOf<C>> RIBSupport<C,S> getRIBSupport(TablesKey key)
      Description copied from interface: RIBExtensionConsumerContext
      Acquire a RIB implementation factory for a AFI/SAFI combination.
      Specified by:
      getRIBSupport in interface RIBExtensionConsumerContext
      Parameters:
      key - AFI/SAFI key
      Returns:
      RIBSupport instance, or null if the AFI/SAFI is not implemented.
    • getRIBSupport

      public final <C extends Routes & org.opendaylight.yangtools.binding.DataObject & org.opendaylight.yangtools.binding.ChoiceIn<Tables>, S extends org.opendaylight.yangtools.binding.ChildOf<C>> RIBSupport<C,S> getRIBSupport(AddressFamily afi, SubsequentAddressFamily safi)
      Description copied from interface: RIBExtensionConsumerContext
      Acquire a RIB implementation factory for a AFI/SAFI combination.
      Specified by:
      getRIBSupport in interface RIBExtensionConsumerContext
      Parameters:
      afi - Address Family Identifier
      safi - Subsequent Address Family identifier
      Returns:
      RIBSupport instance, or null if the AFI/SAFI is not implemented.
    • getRIBSupport

      public final <C extends Routes & org.opendaylight.yangtools.binding.DataObject & org.opendaylight.yangtools.binding.ChoiceIn<Tables>, S extends org.opendaylight.yangtools.binding.ChildOf<C>> RIBSupport<C,S> getRIBSupport(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates key)
      Description copied from interface: RIBExtensionConsumerContext
      Acquire a RIB implementation factory for a AFI/SAFI combination.
      Specified by:
      getRIBSupport in interface RIBExtensionConsumerContext
      Parameters:
      key - Tables key with AFI/SAFI
      Returns:
      RIBSupport instance, or null if the AFI/SAFI is not implemented.