CacheableApplicationContextResolverImpl extends ApplicationContextResolverImpl implements InitializingBean, DisposableBean { @Override public void closeApplicationContext(ApplicationContext applicationContext) { }  void setCacheManager(CacheManager cacheManager); @Override ApplicationContext resolveApplicationContext(
            BatchJobData batchJobData); @Override void closeApplicationContext(ApplicationContext applicationContext); @Override void afterPropertiesSet(); @Override void destroy(); static final String BLOGIC_CONTEXT_CACHE_KEY; }
@Test public void testCloseApplicationContext01() throws Exception { ApplicationContext ctx = new ClassPathXmlApplicationContext("beansDef/B000001.xml"); applicationContextResolver.closeApplicationContext(ctx); assertThat(ctx.getBean("B000001BLogic"), is(notNullValue())); }