2 Replies Latest reply on Sep 30, 2010 10:04 AM by walterjwhite

    Custom Event Implementation

    walterjwhite

      Hi all,


      I want to store all events fired automatically so I can log various things.  I was thinking about implementing my own Event dispatcher, but extending the Weld one will be a bit tricky.


      Should I extend the Weld EventImpl implementation, well can I, and is that a bad idea?  Secondly, if I simply want to save events, wouldn't a decorator work well here?


      I want this to be transparent as possible, if I use a decorator, I think I'd end up annotating injection points and that doesn't save me from writing any code.




      Walter