Set the ApplicationContext that this object runs in. Normally this call will be used to initialize the object.
Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method. Invoked after ResourceLoaderAware's setResourceLoader.
Parameters: applicationContext - ApplicationContext object to be used by this object throws: org.springframework.context.ApplicationContextException - in case of applicationContext initialization errors throws: org.springframework.beans.BeansException - if thrown by application applicationContext methods See Also: org.springframework.beans.factory.BeanInitializationException |