Sets the IApplicationContext that this object runs in.
IApplicationContextAware.ApplicationContext
Normally this call will be used to initialize the object.
Invoked after population of normal object properties but before an init callback such as IInitializingObject's AfterPropertiesSet or a custom init-method. Invoked after the setting of any IResourceLoaderAware's ResourceLoader property.
| Exception Type | Condition |
|---|---|
| ApplicationContextException | In the case of application context initialization errors. |
| ObjectsException | If thrown by any application context methods. |
| ObjectInitializationException |
CacheParameterAdvisor Class | Spring.Aspects.Cache Namespace