org.n3r.quartz.glass.web.controller.ConfigurationController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quartz-glass Show documentation
Show all versions of quartz-glass Show documentation
A web user interface for quartz
package org.n3r.quartz.glass.web.controller;
import org.n3r.quartz.glass.configuration.Configuration;
import org.quartz.SchedulerException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* The home page !
*/
@Controller
public class ConfigurationController {
@Autowired
private Configuration configuration;
@RequestMapping("/configuration")
public String configuration(Model model) throws SchedulerException {
model.addAttribute("configuration", configuration);
return "configuration";
}
}