// Path: RESTfulShell/src/main/java/com/elminster/restful/application/Application.java
// @SpringBootApplication
// // same as @Configuration @EnableAutoConfiguration @ComponentScan
// @ComponentScan(basePackages="com.elminster.restful")
// public class Application {
//   
//   public static ConfigurableApplicationContext context;
// 
//   public static void main(String[] args) {
//     SpringApplication app = new SpringApplication(Application.class);
//     app.setShowBanner(false);
//     context = app.run(args);
//   }
// }
// 
// Path: RESTfulShell/src/main/java/com/elminster/restful/service/IAdminService.java
// public interface IAdminService {
// 
//   public int savepoint();
// }
// 
// Path: XBoxApi/src/main/java/com/elminster/retrieve/xbox/exception/ServiceException.java
// public class ServiceException extends Exception {
// 
//   /**
//    * 
//    */
//   private static final long serialVersionUID = 1L;
// 
//   public ServiceException() {
//     super();
//   }
// 
//   public ServiceException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
//   public ServiceException(String message) {
//     super(message);
//   }
// 
//   public ServiceException(Throwable cause) {
//     super(cause);
//   }
// }


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ExitCodeGenerator;
import org.springframework.boot.SpringApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.elminster.restful.application.Application;
import com.elminster.restful.service.IAdminService;
import com.elminster.retrieve.xbox.exception.ServiceException;
package com.elminster.restful.controller;



/**
 * The admin controller.
 * 
 * @author jgu
 * @version 1.0
 */
@Controller
public class AdminController {

// Path: RESTfulShell/src/main/java/com/elminster/restful/application/Application.java
// @SpringBootApplication
// // same as @Configuration @EnableAutoConfiguration @ComponentScan
// @ComponentScan(basePackages="com.elminster.restful")
// public class Application {
//   
//   public static ConfigurableApplicationContext context;
// 
//   public static void main(String[] args) {
//     SpringApplication app = new SpringApplication(Application.class);
//     app.setShowBanner(false);
//     context = app.run(args);
//   }
// }
// 
// Path: RESTfulShell/src/main/java/com/elminster/restful/service/IAdminService.java
// public interface IAdminService {
// 
//   public int savepoint();
// }
// 
// Path: XBoxApi/src/main/java/com/elminster/retrieve/xbox/exception/ServiceException.java
// public class ServiceException extends Exception {
// 
//   /**
//    * 
//    */
//   private static final long serialVersionUID = 1L;
// 
//   public ServiceException() {
//     super();
//   }
// 
//   public ServiceException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
//   public ServiceException(String message) {
//     super(message);
//   }
// 
//   public ServiceException(Throwable cause) {
//     super(cause);
//   }
// }


// Path: RESTfulShell/src/main/java/com/elminster/restful/controller/AdminController.java
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ExitCodeGenerator;
import org.springframework.boot.SpringApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.elminster.restful.application.Application;
import com.elminster.restful.service.IAdminService;
import com.elminster.retrieve.xbox.exception.ServiceException;

package com.elminster.restful.controller;



/**
 * The admin controller.
 * 
 * @author jgu
 * @version 1.0
 */
@Controller
public class AdminController {

  private final IAdminService adminService;