Remove MOXy references from Northbound bundle
[neutron.git] / northbound-api / src / main / java / org / opendaylight / neutron / northbound / api / NeutronNorthboundRSApplication.java
1 /*
2  * Copyright IBM Corporation, 2013.  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.neutron.northbound.api;
10
11 import javax.ws.rs.core.Application;
12 import java.util.HashSet;
13 import java.util.Map;
14 import java.util.Set;
15
16
17 /**
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.
21  *
22  */
23 public class NeutronNorthboundRSApplication extends Application {
24     @Override
25     public Set<Class<?>> getClasses() {
26         Set<Class<?>> classes = new HashSet<Class<?>>();
27 // northbound URIs
28         classes.add(NeutronNetworksNorthbound.class);
29         classes.add(NeutronSubnetsNorthbound.class);
30         classes.add(NeutronPortsNorthbound.class);
31         classes.add(NeutronRoutersNorthbound.class);
32         classes.add(NeutronFloatingIPsNorthbound.class);
33         classes.add(NeutronSecurityGroupsNorthbound.class);
34         classes.add(NeutronSecurityRulesNorthbound.class);
35         classes.add(NeutronFirewallNorthbound.class);
36         classes.add(NeutronFirewallPolicyNorthbound.class);
37         classes.add(NeutronFirewallRulesNorthbound.class);
38         classes.add(NeutronLoadBalancerNorthbound.class);
39         classes.add(NeutronLoadBalancerListenerNorthbound.class);
40         classes.add(NeutronLoadBalancerPoolNorthbound.class);
41         classes.add(NeutronLoadBalancerHealthMonitorNorthbound.class);
42         classes.add(NeutronLoadBalancerPoolMembersNorthbound.class);
43         return classes;
44     }
45 }