3 Replies Latest reply on Apr 13, 2009 10:38 PM by Arbi Sookazian

    Observing many event 'types'

    Ron Pomeroy Newbie
      Seam Events aren't types:


      I'm looking for a way to @Observe events whose name match a pattern (like com.rjp.*).

      I've dug in and haven't yet found a strategy for getting this behavior (short of an organ transplant :-) )

      I'm still pretty new to Seam and I'm hoping the more experienced Seamsters (or Seamstress') might have a better perspective on this. 

      I've considered subclassing the Events and installing my own overriding raiseEvent(...) but some of the dispatch machinery is spread into the Init class and how it registers Observers.  Replacing Events and Init feels like pretty radical surgery. 

      Any help is appreciated.