All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.yandex.qatools.camelot.common.builders.BuildersFactory Maven / Gradle / Ivy

There is a newer version: 2.5.4
Show newest version
package ru.yandex.qatools.camelot.common.builders;

import org.apache.camel.CamelContext;
import org.quartz.Scheduler;
import ru.yandex.qatools.camelot.api.AppConfig;
import ru.yandex.qatools.camelot.config.Plugin;

/**
 * @author Ilya Sadykov (mailto: [email protected])
 */
public interface BuildersFactory {
    /**
     * Initializes the new aggregator plugin route builder
     */
    AggregatorRoutesBuilder newAggregatorPluginRouteBuilder(CamelContext camelContext,
                                                            Plugin plugin) throws Exception; //NOSONAR
    /**
     * Initializes the new processor plugin route builder
     */
    ProcessorRoutesBuilder newProcessorPluginRouteBuilder(CamelContext camelContext, Plugin plugin) throws Exception; //NOSONAR

    /**
     * Initializes the repository builder
     */
    AggregationRepositoryBuilder newRepositoryBuilder(CamelContext camelContext) throws Exception; //NOSONAR

    /**
     * Initializes the quartz initializer
     */
    QuartzInitializer newQuartzInitializer(Scheduler scheduler, AppConfig config) throws Exception; //NOSONAR

    /**
     * Initializes the scheduler builders factory
     */
    SchedulerBuildersFactory newSchedulerBuildersFactory(Scheduler scheduler, CamelContext camelContext);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy