Remove AbstractNormalizedNodeBodyReader
[netconf.git] / restconf / restconf-nb / src / main / java / org / opendaylight / restconf / nb / rfc8040 / DataStreamApplication.java
1 /*
2  * Copyright (c) 2020 Lumina Networks, Inc. All rights reserved.
3  *
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
7  */
8 package org.opendaylight.restconf.nb.rfc8040;
9
10 import java.util.List;
11 import javax.inject.Inject;
12 import javax.inject.Singleton;
13 import org.opendaylight.restconf.nb.rfc8040.databind.DatabindProvider;
14 import org.opendaylight.restconf.nb.rfc8040.rests.services.impl.RestconfDataStreamServiceImpl;
15
16 /**
17  * Restconf Application extends {@link AbstractRestconfApplication}. Is used for sending SSE.
18  */
19 @Singleton
20 public class DataStreamApplication extends AbstractRestconfApplication {
21     @Inject
22     public DataStreamApplication(final DatabindProvider databindProvider,
23             final RestconfDataStreamServiceImpl dataStreamService) {
24         super(databindProvider, List.of(dataStreamService));
25     }
26 }