I have a query is that I want my application context to be get refreshed after every 2 minutes..rite now I am getting the application context in my application ..
public class App {
public static void main(String[] args) {
ApplicationContext context = new ClassPathXmlApplicationContext(
"Spring-Module.xml");
HelloWorld obj = (HelloWorld) context.getBean("helloBean");
obj.printHello();
}
Please advise how to refresh the application context in every 2 minutes