public interface EngineProvider
EngineProvider instance manufactures an Engine instance, which is available
in the system.
At initialization time, the ServiceLoader will search for EngineProvider implementations available in the class path.
Engine is designed as a collection of singletons. Engine.getInstance() will
return the default Engine, which is the first one found in the classpath. Many of the standard
APIs will rely on this default Engine instance such as when creating a NDManager or Model. However, you can directly get a specific
Engine instance (e.g. MxEngine) by calling Engine.getEngine(String).
| Modifier and Type | Method and Description |
|---|---|
Engine |
getEngine()
Returns the instance of the
Engine class EngineProvider should bind to. |
java.lang.String |
getEngineName()
Returns the name of the
Engine. |
int |
getEngineRank()
Returns the rank of the
Engine. |