2020-11-10 16:05:49 +01:00
|
|
|
package org.gcube.application.geoportal.service;
|
|
|
|
|
2020-11-10 18:19:30 +01:00
|
|
|
import javax.ws.rs.ApplicationPath;
|
2020-11-10 16:05:49 +01:00
|
|
|
|
2020-11-11 18:17:06 +01:00
|
|
|
import org.gcube.application.geoportal.common.rest.InterfaceConstants;
|
|
|
|
import org.gcube.application.geoportal.service.rest.Concessioni;
|
|
|
|
import org.gcube.application.geoportal.service.rest.Profiles;
|
|
|
|
import org.gcube.application.geoportal.service.rest.Projects;
|
|
|
|
import org.gcube.application.geoportal.service.rest.Sections;
|
2020-11-10 18:19:30 +01:00
|
|
|
import org.glassfish.jersey.server.ResourceConfig;
|
2020-11-10 16:05:49 +01:00
|
|
|
|
2020-11-10 18:19:30 +01:00
|
|
|
@ApplicationPath(InterfaceConstants.APPLICATION_PATH)
|
|
|
|
public class GeoportalService extends ResourceConfig{
|
|
|
|
|
|
|
|
|
2020-11-16 18:21:07 +01:00
|
|
|
|
2020-11-10 18:19:30 +01:00
|
|
|
public GeoportalService() {
|
|
|
|
super();
|
2020-11-11 18:17:06 +01:00
|
|
|
//Register interrfaces
|
|
|
|
registerClasses(Concessioni.class);
|
|
|
|
registerClasses(Projects.class);
|
|
|
|
registerClasses(Sections.class);
|
|
|
|
registerClasses(Profiles.class);
|
2020-11-10 18:19:30 +01:00
|
|
|
}
|
2020-11-11 18:17:06 +01:00
|
|
|
|
|
|
|
|
2020-11-10 16:05:49 +01:00
|
|
|
}
|