X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fswitchmanager%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fswitchmanager%2Fnorthbound%2FSwitchNorthboundRSApplication.java;fp=opendaylight%2Fnorthbound%2Fswitchmanager%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fswitchmanager%2Fnorthbound%2FSwitchNorthboundRSApplication.java;h=0000000000000000000000000000000000000000;hb=feeeee8105b8f8262154d6c7d994fdbdb7eda1e2;hp=1cdfd31e3ff6c6f5da224ed76340e007e7807cf4;hpb=e89176e4777c3511a60e6507628dfcb5e7046e3c;p=controller.git diff --git a/opendaylight/northbound/switchmanager/src/main/java/org/opendaylight/controller/switchmanager/northbound/SwitchNorthboundRSApplication.java b/opendaylight/northbound/switchmanager/src/main/java/org/opendaylight/controller/switchmanager/northbound/SwitchNorthboundRSApplication.java deleted file mode 100644 index 1cdfd31e3f..0000000000 --- a/opendaylight/northbound/switchmanager/src/main/java/org/opendaylight/controller/switchmanager/northbound/SwitchNorthboundRSApplication.java +++ /dev/null @@ -1,33 +0,0 @@ - -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.controller.switchmanager.northbound; - -import java.util.HashSet; -import java.util.Set; -import javax.ws.rs.core.Application; - -import org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider; - -/** - * Instance of javax.ws.rs.core.Application used to return the classes - * that will be instantiated for JAXRS processing, this is necessary - * because the package scanning in jersey doesn't yet work in OSGi - * environment. - * - */ -public class SwitchNorthboundRSApplication extends Application { - @Override - public Set> getClasses() { - Set> classes = new HashSet>(); - classes.add(SwitchNorthbound.class); - classes.add(JacksonJaxbJsonProvider.class); - return classes; - } -}