For each shared library (plugin) containing custom SAFs to be loaded into the Sun Java System Web Proxy Server, add an Init directive that invokes the load-modules SAF to obj.conf. The syntax for a directive that loads a filter plugin is:
Init fn=load-modules shlib=[path]sharedlibname NativeThread="no"
shlib is the local file system path to the shared library (plugin).
NativeThread indicates whether the plugin requires native threads. Filters should be written to run on any type of thread (see Write the Source Code).
When the server encounters such a directive, it calls the plugin’s nsapi_module_init function to initialize the filter.