• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between the methods on session object

 
Srinivasa Gundapu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between the following two methods in session object.
attirbutRemoved(HSBE event) and attributeUnboundinvoked(HSBE event).
I dont understand the difference between the above two methods.
Any explanation is appreciated.
Thanks in advance.
 
Kai Liu
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
attirbuteRemoved(HSBE event)
is used to notify that Session that some attributes of Session have been removed.
and attributeUnboundinvoked(HSBE event)
is used to notify the attributes/objects added to Seesion.( The attributes must be objects to receive event.)
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Srinivas,
JavaRanch has a Naming Policy Please read and follow.
Thanks
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!