com.github.bingoohuang.sqltrigger.Envs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sql-trigger Show documentation
Show all versions of sql-trigger Show documentation
delay queue based on redis
The newest version!
package com.github.bingoohuang.sqltrigger;
public class Envs {
public static final boolean HAS_SPRING = classExists("org.springframework.context.ApplicationContext");
public static boolean classExists(String className) {
try {
Class.forName(className, false, Envs.class.getClassLoader());
return true;
} catch (ClassNotFoundException e) {
return false;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy