JBoss Seam - order event listeners

Posted by Walter White on Stack Overflow See other posts from Stack Overflow or by Walter White
Published on 2010-06-09T19:46:43Z Indexed on 2010/06/09 19:52 UTC
Read the original article Hit count: 380

Filed under:
|
|

Hi all,

I would like to order my event listeners. Is it possible to do this in JBoss Seam 2.x?

I am thinking as a workaround, which is quite simple, I will just daisy chain my events:

  1. fire event A.
  2. do something on event A. a. fire event B
  3. do something on event B.

Any comments with this design? Is this a good / bad practice?

Thanks,

Walter

© Stack Overflow or respective owner

Related posts about jboss

Related posts about observer