You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Harish Krishnaswamy <hk...@comcast.net> on 2003/10/03 17:26:30 UTC

[HiveMind] EventListener service

I know there was some talk about listener services, has anyone 
implemented any such service? I am having a need now for such a service 
and I don't want to reinvent the wheel.

Thanks,
Harish


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [HiveMind] EventListener service

Posted by Harish Krishnaswamy <hk...@comcast.net>.
Oh, ok I shall take a look. Thanks.

Howard M. Lewis Ship wrote:

>There's an EventListenerList utility class; it's not threadsafe but it is concurrency safe (meaning,
>you can navigate its Iterator of listeners even while adding and removing listeners).
>
>--
>Howard M. Lewis Ship
>Creator, Tapestry: Java Web Components
>http://jakarta.apache.org/tapestry
>http://jakarta.apache.org/commons/sandbox/hivemind/
>http://javatapestry.blogspot.com
>
>  
>
>>-----Original Message-----
>>From: Harish Krishnaswamy [mailto:hkrishnaswamy@comcast.net] 
>>Sent: Friday, October 03, 2003 11:27 AM
>>To: Jakarta Commons Developers List
>>Subject: [HiveMind] EventListener service
>>
>>
>>I know there was some talk about listener services, has anyone 
>>implemented any such service? I am having a need now for such 
>>a service 
>>and I don't want to reinvent the wheel.
>>
>>Thanks,
>>Harish
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
>  
>

RE: [HiveMind] EventListener service

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
There's an EventListenerList utility class; it's not threadsafe but it is concurrency safe (meaning,
you can navigate its Iterator of listeners even while adding and removing listeners).

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com

> -----Original Message-----
> From: Harish Krishnaswamy [mailto:hkrishnaswamy@comcast.net] 
> Sent: Friday, October 03, 2003 11:27 AM
> To: Jakarta Commons Developers List
> Subject: [HiveMind] EventListener service
> 
> 
> I know there was some talk about listener services, has anyone 
> implemented any such service? I am having a need now for such 
> a service 
> and I don't want to reinvent the wheel.
> 
> Thanks,
> Harish
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org