org.n3r.quartz.glass.job.demo.AutoWirePojoComponentJob 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.job.demo;
import org.n3r.quartz.glass.configuration.Configuration;
import org.n3r.quartz.glass.job.annotation.GlassJob;
import org.n3r.quartz.glass.log.joblog.JobLogs;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@GlassJob(description = "Test job for autowired supporting",
team = "火箭队", created = "2014-09-02")
@Component
public class AutoWirePojoComponentJob {
@Autowired
private Configuration configuration;
public void run() {
JobLogs.info("AutoWirePojoJob {}, configuration :{}", this, configuration);
}
}