
com.thebund1st.liyang.boot.time.TimeConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of delay-job-core Show documentation
Show all versions of delay-job-core Show documentation
Your description of the lib
The newest version!
package com.thebund1st.liyang.boot.time;
import com.thebund1st.liyang.time.Clock;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class TimeConfiguration {
@ConditionalOnMissingBean(Clock.class)
@Bean(name = "liyang.time.Clock")
public Clock clock() {
return new Clock();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy