Package com._1c.g5.aef2.engines
Class EngineFactory
- java.lang.Object
-
- com._1c.g5.aef2.engines.EngineFactory
-
public final class EngineFactory extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IEnginecreateEngine(String engineName)CreatesIEngineinstance with the specified engine name.static IEnginecreateEngineWithSharedRunnableExecutor(String engineName)CreatesIEngineinstance with the specified engine name.
-
-
-
Method Detail
-
createEngine
public static IEngine createEngine(String engineName)
CreatesIEngineinstance with the specified engine name.- Parameters:
engineName- the engine name, cannot benullor empty.- Returns:
IEngineinstance, nevernull.
-
createEngineWithSharedRunnableExecutor
public static IEngine createEngineWithSharedRunnableExecutor(String engineName)
CreatesIEngineinstance with the specified engine name. The created engine instance shares the executor (thread) while performsIRunnableQueue.queueRunnable(Runnable). The executor is acquired by the specified name.- Parameters:
engineName- the engine name, cannot benullor empty.- Returns:
IEngineinstance, nevernull.
-
-