-
Jul 20th, 2012, 02:02 PM
#1
Under what conditions would AbstractApplicationContext.refresh() be called?
I have an instance of ClassPathXmlApplicationContext which I'm using to manage a Swing application.
Recently, I saw an issue with where the context visibly (i.e. was seen in the logs) refreshed itself. Trying to find the call stack leading down from AbstractApplicationContext.refresh() is a bit labyrinthine.
Is there some part of the context framework (like the Lifecycle), that would refresh the context if a bean was recreated, or reinitialized (for example, a JMS Container component)?
Thanks,
Spencer
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules