Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing objects already created in memory ?

 
omkar patkar
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

please help me in this issue :-

I want to access object already created in the memory. For example, generally in web application when the server starts based upon the configuration files like web.xml OR struts-config.xml OR spring-config.xml etc., ....server creates instances of the classes mentioned in the configuration files. Now, how can i access these objects ?

Thanks in advance
Omkar Patkar.
 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Store the reference of the object somewhere and access it.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic