2 * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.mdsal.dom.broker;
10 import javax.inject.Inject;
11 import javax.inject.Singleton;
12 import org.eclipse.jdt.annotation.NonNull;
13 import org.opendaylight.mdsal.dom.api.DOMActionService;
14 import org.opendaylight.mdsal.dom.spi.ForwardingDOMActionService;
15 import org.osgi.service.component.annotations.Activate;
16 import org.osgi.service.component.annotations.Component;
17 import org.osgi.service.component.annotations.Reference;
20 @Component(service = DOMActionService.class)
21 public final class RouterDOMActionService extends ForwardingDOMActionService {
22 private final @NonNull DOMActionService delegate;
26 public RouterDOMActionService(@Reference final DOMRpcRouter router) {
27 delegate = router.actionService();
31 protected DOMActionService delegate() {