
org.frameworkset.tran.schedule.xxjob.SyndataXXJobConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bboss-datatran-jdbc Show documentation
Show all versions of bboss-datatran-jdbc Show documentation
bboss etl,datastream,elasticsearch client with restful and java api without elasticsearch jar dependended.
The newest version!
package org.frameworkset.tran.schedule.xxjob;
import com.xxl.job.core.executor.XxlJobExecutor;
import com.xxl.job.core.handler.IJobHandler;
import org.frameworkset.spi.DefaultApplicationContext;
import org.frameworkset.spi.assemble.GetProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
/**
*
*/
public class SyndataXXJobConfig {
private static Logger logger = LoggerFactory.getLogger(SyndataXXJobConfig.class);
private static SyndataXXJobConfig instance = new SyndataXXJobConfig();
public static SyndataXXJobConfig getInstance() {
return instance;
}
private XxlJobExecutor xxlJobExecutor = null;
/**
* init
*/
public void initXxlJobExecutor() {
// PropertiesContainer propertiesContainer = new PropertiesContainer();
// propertiesContainer.addConfigPropertiesFile("application.properties");
GetProperties propertiesContainer = DefaultApplicationContext.getApplicationContext("conf/elasticsearch-boot-config.xml",false);
Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy