aspose file tools*
The moose likes Java in General and the fly likes Accessing objects already created in memory ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Accessing objects already created in memory ?" Watch "Accessing objects already created in memory ?" New topic
Author

Accessing objects already created in memory ?

omkar patkar
Ranch Hand

Joined: Aug 25, 2005
Posts: 231
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.


Thanks and Regards
Omkar Patkar (SCJP 1.4)[url]http://javacollectionsnotes.blogspot.com[/url] | [url]http://omkar-myscjpexp.blogspot.com[/url]
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
Store the reference of the object somewhere and access it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing objects already created in memory ?