use of org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter in project controller by opendaylight.
the class BindingTestContext method startDomBroker.
private void startDomBroker() {
checkState(this.executor != null);
this.domRouter = new DOMRpcRouter();
this.mockSchemaService.registerSchemaContextListener(this.domRouter);
final ClassToInstanceMap<BrokerService> services = MutableClassToInstanceMap.create();
services.put(DOMRpcService.class, this.domRouter);
this.biBrokerImpl = new BrokerImpl(this.domRouter, services);
}
Aggregations