Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The <drivers> section contains definitions for all drivers that will be called in the job. These drivers need to be defined in the LCSim package jar or any of the jars in the <classpath>.

Driver Arguments

Using Javabeans, the job manager is able to convert simple XML text into parameter arguments for drivers. Only simple method signatures with single arguments are supported.

The easiest way to explain how it works is with an example. Suppose you had a java class with setters.

Expression Evaluation

Guidelines for Creating Compatible Drivers

driver class must be public
drivers must have a public, no argument constructor
drivers should not do any initialization in their constructors; use detectorChanged() or startOfData() instead
driver set methods should always be of the form public void setParameter(type singleArg)
use of sub-drivers is discouraged due to these being inaccessible to the job manager, though it is still possible

Running a Specific LCSim Release

...