Hi,
I've implemented the IElementEventHandler interface.
I now have :

public void handleElementEvent(IElementEvent event) {
   // handle event
}

How do I access the cached object in the event?
I managed to do it using:

CacheElement obj = (CacheElement) ((EventObject)event).getSource();

but it seems a bit ugly - doesn't it...?

Is there a better way?

Thanks,
Zohar.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to