Oops, are you sure James?

 

Then I’ll have to change it _everywhere_ in HiveMind Utilities (ans also in HiveBoard, by the way)  L

I have to say that I did not even ask myself the question when putting this header (for me it was kinda standard header for any software using the ASL not necessary created by the ASF), but after second thought, that makes sense to change the copyright owner indeed!

 

Cheers

 

Jean-Francois

 


From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 6:37 PM
To: user@hivemind.apache.org
Subject: RE: Re: How to notify a service

 

You shouldn’t use that header if it’s not written by the Apache Software Foundation (which I assume it’s not).  You can say “Copyright 2006 Andrea Chiumenti” or something like that.

 


From: Andrea Chiumenti [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 7:21 AM
To: user@hivemind.apache.org
Subject: [Norton AntiSpam] Re: How to notify a service

 

Sorry Jean-Francois,
I've seen that you are using the same license that I've chosen for my project and you have put in java files:

//
Copyright 2004 The Apache Software Foundation

Should I use the same header ? Or I'd have to put

//Copyright 2005/2006 Andrea Chiumenti

?

On 7/13/06, Jean-Francois Poilpret <[EMAIL PROTECTED]> wrote:

Hi Diego,

 

You may want to take a look at HiveMind Utilities "hiveevents" module. It implements the notion of "event channels" to which one can push events (producer) or one can subscribe for notification of events (consumer).

The configuration and the API are quite straightforward, and a channel can be injected into any hivemind service/configuration (just need to use the object provider "channel:<name>").

 

Hope this helps

 

Jean-Francois

 


From: Diego [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 13, 2006 4:45 PM
To: user@hivemind.apache.org
Subject: How to notify a service

 

Hello,

I have several services that implement the same interface that I use to pull data from a database and cache it. When data changes I need to notify all services that something has changed. How would I do this with Hivemind?

I don't want to implement each service in every component/page that changeses data only to be able to call the refreshdata method.

If I read the hivemind website correctly I could use the BuilderFactory Service to add an event listerener to the service. Do I have to write a producer service that fires the events and that has to be injected in every component/page or is there some some thing the the ThreadEventNotifier?

Regards,
Diego

 

Reply via email to