I guess what I am looking for is notification when the actual value
changes, not when it is destroyed.  When the value of the termination
time resource property.

 

Shannon Hastings

co-Director

Software Research Institute

Department of Biomedical Informatics

Ohio State University

 

Office:  (614) 292-9461

Lab:  (614) 292-9845

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

From: Rachana Ananthakrishnan [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 08, 2007 12:19 PM
To: Shannon Hastings; [email protected]
Subject: RE: [gt-user] SetTerminationTimeProvider and Notificaiton

 

The method is invoked in ResourceHomeImpl, just before a resource is
destroyed. Looking at the WS Resource lifetime specification, section 6,
the implementation is correct.

 

"A WS-Resource MAY choose to support the pattern of notifying interested
parties when it is destroyed. "

 

I am not sure I completely parse the point about reflection resource
property. But that is only one of the implementations of RP and I don't
expect SetTerminationProvider to expect that resources would use only
the implementation. Are you suggesting that subscriptions to the
termination topic don't receive notification? Can you show a test case
please?

 

Thanks,

Rachana

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Shannon Hastings
Sent: Monday, October 08, 2007 8:51 AM
To: [email protected]
Subject: [gt-user] SetTerminationTimeProvider and Notificaiton

 

It seems that the SetTerminationTimeProvider does not support
Notification.  It has some code in there for sending a specific
ResourceTermination notification but it does not ever seem to be called.
Is this correct?  Also, I would assume that the
SetTerminationTimeProvider would get a handle to the
ReflectionResourceProperty and call the set on it for setting the value
instead of calling "setTerminationTime" directly on the resource and
bypassing the ReflectionResourceProperty.  Doing it the way that it is
coded now is bypassing the notification code of the Topic that wrapps
the ResourceProperty.  If it were coded the way that it is suggested in
the globus tutorial the notification would automatically work.  Is this
right?

 

Shannon Hastings

co-Director

Software Research Institute

Department of Biomedical Informatics

Ohio State University

 

Office:  (614) 292-9461

Lab:  (614) 292-9845

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

Reply via email to