Beispiel #1
0
 @PreDestroy
 public void stop() {
   try {
     ivtvService.stop();
   } catch (Throwable e) {
     LOG.error("Failed to stop JPVR", e);
   }
 }
Beispiel #2
0
 @PostConstruct
 public void start() {
   try {
     ivtvService.start();
   } catch (Throwable e) {
     LOG.error("Failed to initialize JPVR", e);
     throw new RuntimeException("Failed to initialize JPVR", e);
   }
 }