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;
16 * This class is an instance of javax.ws.rs.core.Application and is used to return the classes
17 * that will be instantiated for JAXRS processing. This is necessary
18 * because package scanning in jersey doesn't yet work in OSGi environment.
21 public class LoadBalancerNorthboundRSApplication extends Application {
23 public Set<Class<?>> getClasses() {
24 Set<Class<?>> classes = new HashSet<Class<?>>();
25 classes.add(LoadBalancerNorthbound.class);