Tivoli Directory Integrator, Version 7.1.1

Main object

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® Tivoli® Directory Integrator concepts - The AssemblyLine" in IBM Tivoli Directory Integrator V7.1.1 Users Guide.

If there is a need to synchronize between multiple AssemblyLines for some reason, you 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:

synchronized(main) {
		task.logmsg("Inside the synchronized block")
	}
[ Top of Page | Previous Page | Next Page | Contents | Terms of use | Feedback ]
(C) Copyright IBM Corporation, 2003, 2012. All Rights Reserved.
IBM Tivoli Directory Integrator 7.1.1