Hi Sal,

 

Thanks for the quick response…

I have been going through the Resource interface and couldn't figure out the way to use the ResourcePropertyValueChangeListener.

Can you please help me figure this issue out? This is quite urgent for me…

 

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254


From: Campana Jr., Salvatore J [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 3:25 PM
To: wsrf-user@ws.apache.org
Subject: RE: resource properties

 

Asaf,

 

Would the ResourcePropertyValueChangeListener work for you?  You'd have to register your listener for each property you are interested in listening to...Then whenever an insert, update or delete is triggered, you will get a a ResourcePropertyChangeEvent...this is exactly like ActionListener which is common in UI programming...

 

-S

 


From: Asaf Lahav [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 07, 2006 4:25 AM
To: wsrf-user@ws.apache.org
Subject: FW: resource properties

 

I'm aware of the option of writing another WSRF webservice and subscribing to Resource Properties update notifications.

But that is not what I'm trying to achieve.

I want to write a WSRF webservice that when one of its resource properties are updated I would be able to get a method invocation from with in the service or resource on which the property update was performed.

I hope I'm clear enough of what I'm trying to achieve.

 

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254


From: Alvaro Orus [mailto:[EMAIL PROTECTED]
Sent: Friday, May 05, 2006 9:18 AM
To: wsrf-user@ws.apache.org
Subject: Re: resource properties

 

Hi

I think the best way to do that is using WS-notification. You may implement an audit/log web-service which is subscribed to a specific topic related to a property change. When this property changes, a notification with the old value and the new value of the property will be sent to services that are interested in that value change.

As WS-Notification implementation i recommend you WS-Messenger:
http://www.extreme.indiana.edu/xgws/messenger/

On 5/5/06, asaf lahav <[EMAIL PROTECTED]> wrote:

Hi,

 

How can I know that a resource property value was updated from with in the WSRF service?

What I would like is to get a method invocation each time a service client/stub/consumer updates a resource property value so I'll be able to audit/log it.

What is the way to achieve that?

 

Thanks in advance,  

 

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254

 

 

Reply via email to