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.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingCodec, List<RIBExtensionProviderActivator> extensionActivators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.binding.ChildOf<C>>
RIBSupport<C,S>getRIBSupport(Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
Acquire a RIB implementation factory for a AFI/SAFI combination.<C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.binding.ChildOf<C>>
RIBSupport<C,S>getRIBSupport(TablesKey key)
Acquire a RIB implementation factory for a AFI/SAFI combination.<C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.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.
-
-
-
Constructor Detail
-
OSGiRIBExtensionConsumerContext
public OSGiRIBExtensionConsumerContext(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingCodec, List<RIBExtensionProviderActivator> extensionActivators)
-
-
Method Detail
-
getRIBSupport
public final <C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.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 interfaceRIBExtensionConsumerContext
- 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.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.binding.ChildOf<C>> RIBSupport<C,S> getRIBSupport(Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
Description copied from interface:RIBExtensionConsumerContext
Acquire a RIB implementation factory for a AFI/SAFI combination.- Specified by:
getRIBSupport
in interfaceRIBExtensionConsumerContext
- Parameters:
afi
- Address Family Identifiersafi
- 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.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.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 interfaceRIBExtensionConsumerContext
- Parameters:
key
- Tables key with AFI/SAFI- Returns:
- RIBSupport instance, or null if the AFI/SAFI is not implemented.
-
-