| java.lang.Object dalma.EngineFactory
newInstance | public Engine newInstance() throws IOException(Code) | | Creates a new
Engine based on the current configuration.
throws: IOException - if the engine failed to set up the files for persistence,or fails to read from the existing persisted conversations. |
setEndPointURLs | public void setEndPointURLs(Map<String, String> endPoints)(Code) | | Creates
EndPoint s from endpoint URLs and adds them
to the engine when it's created.
Parameters: endPoints - Keys are endpoint names, and values are endpoint URLs. |
setEndPoints | public void setEndPoints(Collection<? extends EndPoint> endPoints)(Code) | | Adds multiple
EndPoint s from the given list.
Note that this method copies the values from the collection but not the
collection itself. Therefore once the method returns, changes can be
made to the collection object that is used for this method invocation
and it will not affect the engine.
|
setExecutor | public void setExecutor(Executor executor)(Code) | | Sets the thread pool that executes the conversations.
Parameters: executor - must not be null. |
setRootDir | public void setRootDir(File rootDir)(Code) | | Sets the directory to be used for persisting the state of conversations.
Parameters: rootDir - must not be null. This directory must exist. |
|
|