IBM Tivoli Directory Integrator
The main object is the top level thread (see
Interface RSInterface in the Javadocs). This object has
methods for manipulating AssemblyLine behavior. The most common methods
are:
- void dump(object)
- Dumps the object to the log file. If object is anEntry , Dumps the object to the log file; otherwise, just the class name and
object.toString().
- void logmsg (String loglevel, String msg)
- Alternative version of the logmsg() method, with
a Log Level parameter. The legal values for Log Level are: "FATAL", "ERROR", "WARN", "INFO", "DEBUG", corresponding to the log levels
available for log Appenders. Any unrecognized value is treated as
"DEBUG".
- startAL ( name, initial-work-entry ), startAL ( name, runtime-provided-Connector ), startAL ( name, initial-work-entry, runtime-provided-Connector ), startAL ( name, java.util.Vector )
- Starts the AssemblyLine given by the name parameter.
See also "IBM TDI concepts - The AssemblyLine" in IBM TDI V7.1 Users Guide.
If there is a need to synchronize between multiple AssemblyLines
for some reason, we can take advantage of the synchronized keyword
in the IBM Javascript engine. This can be used to synchronize on some
common Object. For example, if the AssemblyLines are all running in
the same Config Instance, they could synchronize on the main Object, like this: