For each shared library (plug-in) containing custom SAFs to be loaded into the Sun Java System Web Server, add an Init directive that invokes the load-modules SAF to magnus.conf. The syntax for a directive that loads a filter plug-in is:
Init fn=load-modules shlib=[path]sharedlibname NativeThread="no"
shlib is the local file system path to the shared library (plug-in).
NativeThread indicates whether the plug-in 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 plug-in's nsapi_module_init function to initialize the filter.