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

com.icthh.xm.commons.lep.groovy.RecreateGroovyLepEngineOnRefresh Maven / Gradle / Ivy

There is a newer version: 4.0.20
Show newest version
package com.icthh.xm.commons.lep.groovy;

import com.icthh.xm.commons.lep.LepPathResolver;
import com.icthh.xm.commons.lep.groovy.storage.LepStorage;
import com.icthh.xm.commons.lep.impl.LoggingWrapper;

import java.util.Map;

public class RecreateGroovyLepEngineOnRefresh implements GroovyEngineCreationStrategy {

    public GroovyLepEngine createEngine(String tenant,
                                        LepStorage leps,
                                        LoggingWrapper loggingWrapper,
                                        ClassLoader classLoader,
                                        Map lepMetadata,
                                        LepResourceConnector lepResourceConnector,
                                        LepPathResolver lepPathResolver,
                                        boolean isWarmupEnabled) {
        return new GroovyLepEngine(
            tenant,
            leps,
            loggingWrapper,
            classLoader,
            lepMetadata,
            lepResourceConnector,
            lepPathResolver,
            isWarmupEnabled
        );
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy