2 * Copyright IBM Corporation, 2013. 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
9 package org.opendaylight.controller.samples.loadbalancer.northbound;
11 import java.util.HashSet;
13 import javax.ws.rs.core.Application;
15 import org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider;
18 * This class is an instance of javax.ws.rs.core.Application and is used to return the classes
19 * that will be instantiated for JAXRS processing. This is necessary
20 * because package scanning in jersey doesn't yet work in OSGi environment.
23 public class LoadBalancerNorthboundRSApplication extends Application {
25 public Set<Class<?>> getClasses() {
26 Set<Class<?>> classes = new HashSet<Class<?>>();
27 classes.add(LoadBalancerNorthbound.class);
28 classes.add(JacksonJaxbJsonProvider.class);