+ startLocRib(key, policyDatabase);
+ }
+
+ if (this.configModuleTracker != null) {
+ this.configModuleTracker.onInstanceCreate();
+ }
+ }
+
+ public RIBImpl(final RibId ribId, final AsNumber localAs, final BgpId localBgpId, @Nullable final ClusterIdentifier clusterId, final RIBExtensionConsumerContext extensions,
+ final BGPDispatcher dispatcher, final BindingCodecTreeFactory codecFactory,
+ final DOMDataBroker domDataBroker, final List<BgpTableType> localTables,
+ final Map<TablesKey, PathSelectionMode> bestPathSelectionstrategies, final GeneratedClassLoadingStrategy classStrategy) {
+ this(ribId, localAs, localBgpId, clusterId, extensions, dispatcher, codecFactory,
+ domDataBroker, localTables, bestPathSelectionstrategies, classStrategy, null, null);
+ }
+
+ public synchronized void registerRootRuntimeBean(final RIBImplRuntimeRegistrator registrator) {
+ this.registrator = registrator;
+
+ initStatsRuntimeBean();
+ }
+
+ /**
+ * Register the statistic runtime bean
+ */
+ private void initStatsRuntimeBean() {
+ if (this.registrator != null) {
+ LOG.debug("Initializing Render Status runtime bean..");
+ this.runtimeReg = this.registrator.register(renderStats);