2 * Copyright (C) 2019 Ericsson Software Technology AB. 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.restconf.nb.rfc8040.handlers;
10 import static java.util.Objects.requireNonNull;
12 import javax.inject.Inject;
13 import javax.inject.Singleton;
14 import org.apache.aries.blueprint.annotation.service.Reference;
15 import org.eclipse.jdt.annotation.NonNull;
16 import org.opendaylight.mdsal.dom.api.DOMActionService;
19 * Implementation of {@link ActionServiceHandler}.
21 // FIXME: remove this class
23 public class ActionServiceHandler {
24 private final @NonNull DOMActionService actionService;
27 * Set DOMActionService.
29 * @param actionService
33 public ActionServiceHandler(final @Reference DOMActionService actionService) {
34 this.actionService = requireNonNull(actionService);
37 public @NonNull DOMActionService get() {
38 return this.actionService;