• Post Reply Bookmark Topic Watch Topic
  • New Topic

Listener question  RSS feed

 
eric mcentee
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just curious, can two separate listeners defined in the deployment descriptor implement the same interface? I can't think of why I'd want to do this, but can two separate classes wait for a ServletContextEvent for example? I guess this would be kind of like a topic that listeners could use.
 
Shishio San
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure you can.
Two different implementations of the interface.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!