code: public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
  		this.applicationContext = applicationContext;
  
  		if (servletContext == null)
  			if (applicationContext instanceof WebApplicationContext) {
  				servletContext = ((WebApplicationContext) applicationContext).getServletContext();
  				if (servletContext == null) {
  					System.err.print("this class only fit for Spring Web Application");
  					return;
  				}
  
  			}
  
  		// start up jdon
  		AppContextWrapper acw = new ServletContextWrapper(servletContext);
  		ContainerFinder containerFinder = new ContainerFinderImp();
  		containerWrapper = containerFinder.findContainer(acw);
  
  	}
docs: ApplicationContextAware's method
  
  at first run, startup Jdon Framework *