use of org.opendaylight.protocol.bgp.rib.impl.spi.Codecs in project bgpcep by opendaylight.
the class CodecsRegistryImpl method onSchemaContextUpdated.
void onSchemaContextUpdated(final SchemaContext context) {
final BindingRuntimeContext runtimeContext = BindingRuntimeContext.create(this.classContext, context);
this.latestCodecTree = this.codecFactory.create(runtimeContext);
for (final Codecs codecs : this.contexts.asMap().values()) {
try {
codecs.onCodecTreeUpdated(this.latestCodecTree);
} catch (final Exception e) {
LOG.error("Codec creation threw {}", e.getMessage(), e);
}
}
}
Aggregations