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