@Override public synchronized void onGlobalContextUpdated(final SchemaContext ctx) { dataTree.setSchemaContext(ctx); }
@Override public synchronized void onGlobalContextUpdated(final SchemaContext ctx) { dataTree.setSchemaContext(ctx); }
@Override public void onGlobalContextUpdated(final SchemaContext context) { dataTree.setSchemaContext(context); }
@Override public void setSchemaContext(final SchemaContext schemaContext) { delegateDependency.setSchemaContext(schemaContext); }
private NormalizedNodeAggregator(final YangInstanceIdentifier rootIdentifier, final List<Optional<NormalizedNode<?, ?>>> nodes, final SchemaContext schemaContext, LogicalDatastoreType logicalDatastoreType) { this.rootIdentifier = rootIdentifier; this.nodes = nodes; this.dataTree = InMemoryDataTreeFactory.getInstance().create( logicalDatastoreType == LogicalDatastoreType.CONFIGURATION ? TreeType.CONFIGURATION : TreeType.OPERATIONAL); this.dataTree.setSchemaContext(schemaContext); }
@Override public DataTree create() { DataTree delegate = new InMemoryDataTreeFactory().create(getType()); delegate.setSchemaContext(schemaService.getGlobalContext()); return delegate; }