Created
November 22, 2013 22:47
-
-
Save bartprokop/7608203 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.appspot.bartgaepoc; | |
import javax.servlet.ServletContextEvent; | |
import javax.servlet.ServletContextListener; | |
import org.springframework.context.annotation.AnnotationConfigApplicationContext; | |
public class WarmupListener implements ServletContextListener { | |
private static AnnotationConfigApplicationContext annotationConfigApplicationContext; | |
@Override | |
public void contextInitialized(ServletContextEvent sce) { | |
annotationConfigApplicationContext = new AnnotationConfigApplicationContext("com.appspot.bartgaepoc"); | |
} | |
@Override | |
public void contextDestroyed(ServletContextEvent sce) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment