James,

BackupFrequency is a ResourceProperty....The value of a ResourceProperty
can be obtained by a client by invoking
getResourceProperty....GetResourceProperty is a spec operation in the
WSRF spec.  We handle the operation under the covers for you as long as
your wsdl contains the operation.  This can be seen by looking at the
AbstractFilesystemService.java file.  We typically put the spec
operations in the Abstract Service class because you do not need to mess
with it....

As for updating the ResourceProperty's value, you can do that via a
Callback object.  The callback operation will be invoked before
returning the value via a getResoruceProperty etc....

-S 

-----Original Message-----
From: James Lorenzen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 11, 2005 12:15 PM
To: [email protected]
Cc: Fred Smith
Subject: updateing state information

Correct me if I am wrong.

In referencing the Apollo FileSystem example, initialization of Resource
Properties is handled in the init() method of the XxxxxResource.java
class. So for example, BackupFrequency is initialized to 0 by getting
the value from the UnixFileSystem object.

Here is my question.

If BackupFrequency is set to another value, say 5, where in the
server-side code will a new Client request be handled to return the new
value? The only place I see BackupFrequency being set is in the init()
method described above. My ignorance expects a method called
getBackupFrequency() returning the current value to the client. Or is
this handled by the Callback classes?

Hope this makes sense.

James Lorenzen
Gestalt-LLC

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to