The service extension is used to restore your service. The ID and the parameter map are passed to each service extension and each one that can process the parameters will be restored on reload. So you need to make sure that your service returns a valid id and a valid set of params.

The code that save and loads is in CatalogPlugin#restoreServices and CatalogPlugin#storeServices

Jesse


On 10-Aug-06, at 1:43 PM, Nils Liebelt wrote:

Hi all,

still on my mission to implement a custom service. Well made progress basically everything is working. But my service does not get restored after restarting the application. Looking at the implementation of other services I haven't found any hint to some kind of persistence mechanism. So how does the magic happen? May be somebody can provide me with an example or a already implemented class to look at.


Regards,

Nils
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to