Information
This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

About classes, instances, and shared data


On the AR System Administration: Plugin Server Configuration form, you can configure two or more Java plug-in classes in a plug-in set or group. When the Java plug-in server starts:

  1. It loads each configured plug-in class or group in a separate class loader.
  2. Any static initialization in the classes is executed.
  3. The Java plug-in server initializes an instance of each plug-in class listed in the AR System Administration: Plugin Server Configuration form for each worker thread in its worker thread pool.

Each time the AR System server makes a connection to the Java plug-in server, a selector thread adds the request associated with the connection to a task queue. As soon as a worker thread is free, it processes the next request in the task queue.

Different instances of a class can share data in the static class variables. To be thread safe, however, the class implementation must protect this static data. The class can use instance variables to store data that is not shared. Because each thread has a separate instance, this data is thread safe.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

AR System 21.3