Search in sources :

Example 1 with DataNormalizer

use of org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizer in project controller by opendaylight.

the class BindingToNormalizedNodeCodec method onGlobalContextUpdated.

@Override
public void onGlobalContextUpdated(final SchemaContext schemaContext) {
    this.legacyToNormalized = new DataNormalizer(schemaContext);
    final BindingRuntimeContext runtimeContext = BindingRuntimeContext.create(this.classLoadingStrategy, schemaContext);
    this.codecRegistry.onBindingRuntimeContextUpdated(runtimeContext);
    this.futureSchema.onRuntimeContextUpdated(runtimeContext);
}
Also used : BindingRuntimeContext(org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext) DataNormalizer(org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizer)

Aggregations

DataNormalizer (org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizer)1 BindingRuntimeContext (org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext)1