com.xxl.job.core.glue.GlueFactory Java Examples

The following examples show how to use com.xxl.job.core.glue.GlueFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XxlJobSpringExecutor.java    From xxl-job with GNU General Public License v3.0 6 votes vote down vote up
@Override
public void afterSingletonsInstantiated() {

    // init JobHandler Repository
    /*initJobHandlerRepository(applicationContext);*/

    // init JobHandler Repository (for method)
    initJobHandlerMethodRepository(applicationContext);

    // refresh GlueFactory
    GlueFactory.refreshInstance(1);

    // super start
    try {
        super.start();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}
 
Example #2
Source File: XxlJobSpringExecutor.java    From microservices-platform with Apache License 2.0 3 votes vote down vote up
@Override
public void start() throws Exception {

    // init JobHandler Repository
    initJobHandlerRepository(applicationContext);

    // refresh GlueFactory
    GlueFactory.refreshInstance(1);


    // super start
    super.start();
}
 
Example #3
Source File: XxlJobSpringExecutor.java    From zuihou-admin-boot with Apache License 2.0 3 votes vote down vote up
@Override
public void start() throws Exception {

    // init JobHandler Repository
    initJobHandlerRepository(applicationContext);

    // refresh GlueFactory
    GlueFactory.refreshInstance(1);


    // super start
    super.start();
}
 
Example #4
Source File: XxlJobSpringExecutor.java    From zuihou-admin-cloud with Apache License 2.0 3 votes vote down vote up
@Override
public void start() throws Exception {

    // init JobHandler Repository
    initJobHandlerRepository(applicationContext);

    // refresh GlueFactory
    GlueFactory.refreshInstance(1);


    // super start
    super.start();
}