Sun Java System Web Proxy Server 4.0.11 NSAPI Developer's Guide

Loading and Initializing the Filter

For each shared library (plug-in) 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 plug-in is:

Init fn=load-modules shlib=[path]sharedlibname NativeThread="no"

When the server encounters such a directive, server calls the plug-in’s nsapi_module_init function to initialize the filter.