In IBM Tivoli Directory Integrator V7.1, we can specify that certain AssemblyLine components must not be created or initialized on AssemblyLine initialization. This is done by disabling those components using the TCB.
AssemblyLine components are enabled by default.
In order to enable or disable a component in the AssemblyLine, call the com.ibm.di.server.TaskCallBlock.setComponentEnabled(String name, boolean enabled) method on the TCB object of the AssemblyLine. The name argument of the method specifies the name of the component to be enabled or disabled. The enabled argument of the method specifies whether the component is to be enabled or disabled.
The actual enabling or disabling of the AssemblyLine components happens in the com.ibm.di.server.TaskCallBlock.applyALSettings(AssemblyLineConfig alc) method. This method is invoked upon AssemblyLine initialization. As the initialization of the AssemblyLine progresses, the components which have been marked as Disabled do not get created/initialized.
If a LOOP component is disabled then all components contained in that LOOP will also be disabled.
Even if a component is disabled from the Config Editor, it can be enabled using this script call:
com.ibm.di.server.TaskCallBlock.setComponentEnabled(String name, boolean enabled)
Parent topic: Task Call Block (TCB)