All the components of Omnidocs engine can be configured using a function which takes an input XML and writes it on a socket to the specified IP and port. The input XML can be any configuration XML for any of the omnidocs components. Each of the omnidocs components accepts an input configuration XML and configures itself to the values specified in the XML. The IP and port in the function specify the IP and port on which the component is running.
Package
com.newgen.dmsconfigapi
Class Name
DMSConfig
public String configureOmnidocs |
( |
String strInputXML, |
|
|
String strIPAddress, |
|
|
int nPort |
|
) |
|
Name |
Description |
strInputXML |
The input XML to be sent to omnidocs
component that has to be configured. |
strIpAddress |
The IP address of the machine on which the component is running. |
NPort |
The port on which the component is listening. |
A single value, which contains response of the function in the form of XML
Following are the operations for various components of OmniDocs Engine that can be performed throught the function described above.
Java Transaction Server
Configuration Option |
Description |
Start client socket so that ODTS can serve the clients |
|
Stops Client Socket so that ODTS can not serve clients |
|
Registers a new cabinet on ODTS. |
|
Unregisters a cabinet on ODTS. |
|
Change properties of an associated cabinet |
|
Changes Server property. |
|
Gets all associated cabinets |
|
Gets a property of associated cabinet. |
|
Gets server property. |
|
Tests associated cabinet. |
|
Test whether ODTS is running or not. |
|
Creates a new omnidocs cabinet. |
|
Deletes a cabinet. |
|
Get currently logged in users. |
|
Dissconect logged in users. |
|
Compile all procedure to a selected cabinet. |
SMS
Configuration Option |
Description |
Starts SMS |
|
Stops SMS |
|
Set SMS server Property |
|
Gets Server Property |
Thumbnail Manager
Configuration Option |
Description |
Stops Thumbnail Manager. |
|
Get Thumbnail Manager properties. |
|
Set Thumbnail Manager Properties. |
|
Reloads the configuration file and restarts the Thumbnail Manager. |
|
Adds a cabinet in the configuration file to be scheduled for thumbnail generation. |
|
Removes a cabinet from the configuration file. |