Search in sources :

Example 1 with DOMRpcRouter

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);
}
Also used : BrokerImpl(org.opendaylight.controller.sal.dom.broker.BrokerImpl) BrokerService(org.opendaylight.controller.sal.core.api.BrokerService) DOMRpcRouter(org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter)

Aggregations

DOMRpcRouter (org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter)1 BrokerService (org.opendaylight.controller.sal.core.api.BrokerService)1 BrokerImpl (org.opendaylight.controller.sal.dom.broker.BrokerImpl)1