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 IEngine
createEngine(String engineName)
CreatesIEngine
instance with the specified engine name.static IEngine
createEngineWithSharedRunnableExecutor(String engineName)
CreatesIEngine
instance with the specified engine name.
-
-
-
Method Detail
-
createEngine
public static IEngine createEngine(String engineName)
CreatesIEngine
instance with the specified engine name.- Parameters:
engineName
- the engine name, cannot benull
or empty.- Returns:
IEngine
instance, nevernull
.
-
createEngineWithSharedRunnableExecutor
public static IEngine createEngineWithSharedRunnableExecutor(String engineName)
CreatesIEngine
instance 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 benull
or empty.- Returns:
IEngine
instance, nevernull
.
-
-