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 calls load-modules is:
shlib is the local file system path to the shared library (plug-in).
funcs is a comma-separated list of function names to be loaded from the shared library. Function names are case sensitive. You may use dash a (-) in place of an underscore (_) in function names. do not include spaces in the function name list.
If the new SAFs require initialization, be sure that the initialization function is included in the funcs list.
For example, if you created a shared library animations.so that defines two SAFs do_small_anim() and do_big_anim() and also defines the initialization function init_my_animations, you would add the following directive to load the plug-in:
Init fn=load-modules shlib=animations.so funcs="do_small_anim,do_big_anim, init_my_animations"
If necessary, also add an Init directive that calls the initialization function for the newly loaded plug-in. For example, if you defined the function init_my_new_SAF() to perform an operation on the maxAnimLoop parameter, you would add a directive such as the following to magnus.conf:
Init fn=init_my_animations maxAnimLoop=5