Add password recovery procedure for default admin user
[controller.git] / opendaylight / northbound / statistics / src / main / java / org / opendaylight / controller / statistics / northbound / StatisticsNorthboundRSApplication.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  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
9 package org.opendaylight.controller.statistics.northbound;
10
11 import java.util.HashSet;
12 import java.util.Set;
13 import javax.ws.rs.core.Application;
14
15 import org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider;
16
17 /**
18  * Instance of javax.ws.rs.core.Application used to return the classes
19  * that will be instantiated for JAXRS processing, this is necessary
20  * because the package scanning in jersey doesn't yet work in OSGi
21  * environment.
22  *
23  */
24 public class StatisticsNorthboundRSApplication extends Application {
25     @Override
26     public Set<Class<?>> getClasses() {
27         Set<Class<?>> classes = new HashSet<Class<?>>();
28         classes.add(StatisticsNorthbound.class);
29         classes.add(JacksonJaxbJsonProvider.class);
30         return classes;
31     }
32 }