how to get application object at runtime in spring code example
Example: get spring application context
public class SpringBean {
@Autowired
private ApplicationContext appContext;
}
public class SpringBean {
@Autowired
private ApplicationContext appContext;
}