org.drools.concurrent.ExecutorProviderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of knowledge-api Show documentation
Show all versions of knowledge-api Show documentation
The Drools and jBPM public API which is backwards compatible between releases.
package org.drools.concurrent;
import org.drools.util.ServiceRegistryImpl;
public class ExecutorProviderFactory {
private static class ExecutorProviderHolder {
private static final ExecutorProvider executorProvider = ServiceRegistryImpl.getInstance().get( ExecutorProvider.class );
}
public static ExecutorProvider getExecutorProvider() {
return ExecutorProviderHolder.executorProvider;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy