This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between the methods on session object  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!