Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

is it possible to refresh a static variable.

807589Sep 11 2008 — edited Nov 25 2008
Hi there,
I am using a static HashMap and populate some data using a static method in to it. Now the problem is some oracle job will run on overnight and will update more data on to it. Since static block executed only once the data updated by the oracle won't be reflected in static map. Is there any way to reload or refresh the static variable just like oracle job or some other way to do the require functionality(i.e) static block to be updated latest data with out restarting the container.


Regards,
A.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2008
Added on Sep 11 2008
7 comments
1,043 views