wood burning stoves 2.0*
The moose likes Beginning Java 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
JavaRanch » Java Forums » Java » Beginning Java
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 ?
 
Similar Threads
Accessing objects already created in memory ?
RE-POST: How to read the details of already parsed struts-config
Why it is better to make objects immutable whenever possible?
How to read the details of already parsed struts-config
Dynamically Load Struts Config Based On URL