• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

event listeners

 
maih fhil
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it guaranteed that all the listener methods will be executed completely before after the event has occurred and before any other method is executed
for eg.
Suppose an attribute is added to a session, then the method in the HttpSessionAttributeListener will be called. Now I want to ask will this method in HttpSessionAttributeListener will be completely executed before the attribute is used anywhere.
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per the contract, i too hope so! It *should* work!
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the spec says that the method must be run before the object is made available as an attribute.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic