Subject: [jade-develop] Important: DF Service Properties
Alpgarcia@eresmas.com
Date: Thu Feb 27 2003 - 01:38:53 MET
Hi, I need to register a service property with 1 or more values. I don´t know how it can be done, I've tried to insert a set, a list and other similar types like the next code shows: Property p3 = new Property(); jade.util.leap.ArrayList set = new jade.util.leap.ArrayList(); Later, I register this property like part of a service description in the DF, but when I search and found this service in the df and extract the property value(with 'getValue()' that returns an java.lang.object), the value type have changed to java.lang.String and can't be restored to it's original type(in this case, ArrayList). This is my problem. I would like to know how I set the value slot of a property to store multiple arguments. If somebody send an example, I'll be very grateful. If you need to see more of my code, please tell me. Thank you very much and sorry for my poor English. |
_______________________________________________
jade-develop mailing list
jade-develop@sharon.cselt.it
http://sharon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
This archive was generated by hypermail 2a22 : Thu Feb 27 2003 - 01:39:12 MET