All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.n3r.quartz.glass.web.controller.ConfigurationController Maven / Gradle / Ivy

There is a newer version: 0.0.9
Show newest version
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";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy