public interface ApplicationContextAware
Title: ApplicationContextAware.java
Description:
bboss workgroup
Copyright (c) 2007
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setApplicationContext(BaseApplicationContext applicationContext)
Set the ApplicationContext that this object runs in.
|
void setApplicationContext(BaseApplicationContext applicationContext) throws com.frameworkset.spi.assemble.BeanInstanceException
Invoked after population of normal bean properties but before an init callback such
as InitializingBean.afterPropertiesSet()
or a custom init-method. Invoked after ResourceLoaderAware.setResourceLoader(org.frameworkset.util.io.ResourceLoader),
ApplicationEventPublisherAware#setApplicationEventPublisher and
MessageSourceAware, if applicable.
applicationContext - the ApplicationContext object to be used by this objectApplicationContextException - in case of context initialization errorsorg.frameworkset.util.beans.BeansException - if thrown by application context methodscom.frameworkset.spi.assemble.BeanInstanceException