• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to detect when serialization kicks off  RSS feed

 
Chandramouli Ram
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to know - by any means- that an object is currently being serialized, may be by adding some print statements in getters etc?
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The serialization mechanism allows plenty of opportunities for customization. Have a look at this article.
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Chandramouli Ram
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Joe & Rob.

I'll try out what you suggested.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!