[Opensource] How can i create Listener Objects for DBObject?

Michael Rimov rimovm at centercomp.com
Wed Jul 9 15:42:57 PDT 2003


At 11:25 AM 7/9/2003 -0400, you wrote:

>Hi,
>
>I see that Expresso 5.0.4 have a DBObject method called 
><addCacheEventListener>,  but is
>marked deprecated, that let us register another object to "listening"
>(updates/adds/deletes) to this DBObject.  This method is deprecated, my 
>question is:
>
>1-What another option i have to do this, "listening"?. is the 
><notifyListeners>
>method, the solution?.
>2-Since what version of Expresso it is deprecated?

You register a listener with CacheManager instead of DBObject.  I don't 
remember when it was deprecated, sorry.  [I can't even remember if I was 
the one that deprecated it :) ]

                                                 -Mike





More information about the Opensource mailing list