Swiftlet question
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kirk_Tsai
Posted On:   Tuesday, June 22, 2004 03:27 PM

I am writing a swiftlet which display status as Entity objects within a usages EnityList object. What property or method do I need to issue on the new status Entity object to make it read only? Right now, I can delete the usage Entity from SwiftMQ Explorer, which is not desirable.



On a related subject, The properties of Entity objects listed in the "Show Entity Table..." window does not appear to refresh after I reload the swiftlet. Is this expected?


Thanks in advance.

Re: Swiftlet question

Posted By:   Andreas_Mueller  
Posted On:   Wednesday, June 23, 2004 05:53 AM

The usage entity must be named "usage" and it will not have a delete command. Look at the Cache Example Swiftlet. Here is an excerpt from the config.xml:




type="java.lang.Integer"
display="Message Count"
description="Number Messages in Cache"
default="0" />



The Entity Table frame needs to be closed and re-opened in order to show the new content.
About | Sitemap | Contact