Registering a Service Type
Service Types must be registered from the Administration Tool, at Services > Services > Service Types.
A list of existing Service Types appears on that page, along with a line for adding a new Service Type. Enter the Service Type name on the blank line. Let us name the Service Type JavaAdderExample. Now select Java as the Service implementation, then click Add.
In the window that appears after clicking the Add button, enter the fully qualified class name for the Service Type, which in this case is examples.adder.service.JavaAdder. The window also allows you to enter options for the Service Type. Enter a * in the serviceMethods field, indicating that all public methods might be called as Service Type methods.
|
Note |
You must set the Grid Library’s name in the Service Type’s gridLibrary field. |