blob: 13157f2e9f906700598408bc6b610ce40783b4e5 [file] [log] [blame]
Sean Condon0e89bda2017-03-21 14:23:19 +00001/*
2 * Copyright 2017-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Sean Condon081290d2017-11-02 13:15:08 +000017package org.onosproject.cfm.rest;
Sean Condon0e89bda2017-03-21 14:23:19 +000018
19import java.util.Set;
20
21import org.onlab.rest.AbstractWebApplication;
Sean Condon081290d2017-11-02 13:15:08 +000022import org.onosproject.soam.rest.DmWebResource;
23import org.onosproject.soam.rest.LmWebResource;
Sean Condon0e89bda2017-03-21 14:23:19 +000024
25/**
26 * CFM REST API web application.
27 */
28public class CfmWebApplication extends AbstractWebApplication {
29 @Override
30 public Set<Class<?>> getClasses() {
31 return getClasses(
32 MdWebResource.class,
33 MaWebResource.class,
34 MepWebResource.class,
35 DmWebResource.class,
36 LmWebResource.class);
37 }
38}