package ru sfedu computervisionrest import java util Set import javax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package ru.sfedu.computervisionrest;
import java.util.Set;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
/**
*
* @author orus-kade
*/
@ApplicationPath("/")
public class CompVisionApplication extends Application{
private static final Logger logger = LogManager.getLogger(CompVisionApplication.class);
public CompVisionApplication() {
logger.info("App starting... ololololololoololololololololololo");
System.out.println("olo");
}
//
// @Override
// public Set<Class<?>> getClasses() {
// Set<Class<?>> resources = new java.util.HashSet<>();
// addRestResourceClasses(resources);
// return resources;
// }
//
// private void addRestResourceClasses(Set<Class<?>> resources) {
// resources.add(ru.sfedu.computervisionrest.services.Service.class);
// }
}