com.icthh.xm.commons.lep.groovy.RecreateGroovyLepEngineOnRefresh Maven / Gradle / Ivy
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