public class SimpleRIBExtensionProviderContext extends Object implements RIBExtensionProviderContext
Constructor and Description |
---|
SimpleRIBExtensionProviderContext() |
Modifier and Type | Method and Description |
---|---|
org.opendaylight.mdsal.binding.generator.impl.GeneratedClassLoadingStrategy |
getClassLoadingStrategy()
Returns class loading strategy for loading YANG modeled classes
associated with registered RIB supports.
|
RIBSupport |
getRIBSupport(Class<? extends AddressFamily> afi,
Class<? extends SubsequentAddressFamily> safi)
Acquire a RIB implementation factory for a AFI/SAFI combination.
|
RIBSupport |
getRIBSupport(TablesKey key)
Acquire a RIB implementation factory for a AFI/SAFI combination.
|
RIBSupport |
getRIBSupport(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates key)
Acquire a RIB implementation factory for a AFI/SAFI combination.
|
<T extends RIBSupport> |
registerRIBSupport(Class<? extends AddressFamily> afi,
Class<? extends SubsequentAddressFamily> safi,
T support)
Register a RIBSupport instance for a particular AFI/SAFI combination.
|
public <T extends RIBSupport> RIBSupportRegistration<T> registerRIBSupport(Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi, T support)
RIBExtensionProviderContext
registerRIBSupport
in interface RIBExtensionProviderContext
afi
- Address Family identifiersafi
- Subsequent Address Family identifiersupport
- T RIBSupport instanceRIBSupportRegistration.close()
method to remove it.public RIBSupport getRIBSupport(Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
RIBExtensionConsumerContext
getRIBSupport
in interface RIBExtensionConsumerContext
afi
- Address Family Identifiersafi
- Subsequent Address Family identifierpublic RIBSupport getRIBSupport(TablesKey key)
RIBExtensionConsumerContext
getRIBSupport
in interface RIBExtensionConsumerContext
key
- AFI/SAFI keypublic org.opendaylight.mdsal.binding.generator.impl.GeneratedClassLoadingStrategy getClassLoadingStrategy()
RIBExtensionConsumerContext
getClassLoadingStrategy
in interface RIBExtensionConsumerContext
public RIBSupport getRIBSupport(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates key)
RIBExtensionConsumerContext
getRIBSupport
in interface RIBExtensionConsumerContext
key
- Tables key with AFI/SAFICopyright © 2018 OpenDaylight. All rights reserved.