Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » context » support » [javadoc | source]
org.springframework.context.support
class: ApplicationContextAwareProcessor [javadoc | source]
java.lang.Object
   org.springframework.context.support.ApplicationContextAwareProcessor

All Implemented Interfaces:
    BeanPostProcessor

org.springframework.beans.factory.config.BeanPostProcessor implementation that passes the ApplicationContext to beans that implement the ResourceLoaderAware , MessageSourceAware , ApplicationEventPublisherAware and/or ApplicationContextAware interfaces. If all of them are implemented, they are satisfied in the given order.

Application contexts will automatically register this with their underlying bean factory. Applications do not use this directly.

Constructor:
 public ApplicationContextAwareProcessor(ApplicationContext applicationContext) 
    Create a new ApplicationContextAwareProcessor for the given context.
Method from org.springframework.context.support.ApplicationContextAwareProcessor Summary:
postProcessAfterInitialization,   postProcessBeforeInitialization
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.context.support.ApplicationContextAwareProcessor Detail:
 public Object postProcessAfterInitialization(Object bean,
    String name) 
 public Object postProcessBeforeInitialization(Object bean,
    String beanName) throws BeansException