Creating external service modules
To create an external service module, you need to use the static WSContextManager class and the WSRunnable interface.
Procedure
- Create a Java class that implements the
WSRunnableinterface. - Implement your business logic in the required
run (...)method, which takesWSContextas one of its arguments. Use theWSContextobject to gain access to WorldServer services. - Use the
WSContextManagerclass to execute yourWSRunnableclass.