Adding Initialization Parameters to Handlers
The <servicecontextname>_handlers.xml file may define a wide range of initialization parameters, allowing you to set various properties as necessary using the property element. For example, to add custom configuration information to a service request handler, you might write something like:
<configuration>
<service name="CustomService">
<request-handlers>
<handler name="http://localhost:8080/custom/CustomSkeleton">
<property name="someProperty" value="someValue"/>
</handler>
</request-handlers>
...
</service>
</configuration>
NOTE >> For handlers that are also named objects, add initialization parameters to the <servicecontextname>_handlers.xml file rather than to <servicecontextname>_objects.xml.
These properties are then added to the
rwsf::Config passed into the handler's
init() function. The property value can be retrieved via the
rwsf::Config interface.