class SpringContextHolder implements ApplicationContextAware {
	private static ApplicationContext APPLICATION_CONTEXT;

	@Override
	public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
		APPLICATION_CONTEXT = applicationContext;
	}

	public static ApplicationContext getApplicationContext() {<FILL_FUNCTION_BODY>}
}

		if (APPLICATION_CONTEXT == null) {
			throw new IllegalStateException("SpringContextHolder is not ready.");
		}
		return APPLICATION_CONTEXT;
	
<no_super_class>