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

All Implemented Interfaces:
    BeanPostProcessor, BeanFactoryAware

org.springframework.beans.factory.config.BeanPostProcessor implementation that passes the context's default LoadTimeWeaver to beans that implement the LoadTimeWeaverAware interface.

Application contexts will automatically register this with their underlying bean factory , provided that a default LoadTimeWeaver is actually available.

Applications should not use this class directly.

Constructor:
 public LoadTimeWeaverAwareProcessor() 
 public LoadTimeWeaverAwareProcessor(LoadTimeWeaver loadTimeWeaver) 
    Create a new LoadTimeWeaverAwareProcessor for the given LoadTimeWeaver .

    If the given loadTimeWeaver is null, then a LoadTimeWeaver will be auto-retrieved from the containing BeanFactory , expecting a bean named "loadTimeWeaver" .

    Parameters:
    loadTimeWeaver - the specific LoadTimeWeaver that is to be used; can be null
Method from org.springframework.context.weaving.LoadTimeWeaverAwareProcessor Summary:
postProcessAfterInitialization,   postProcessBeforeInitialization,   setBeanFactory
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.context.weaving.LoadTimeWeaverAwareProcessor Detail:
 public Object postProcessAfterInitialization(Object bean,
    String name) 
 public Object postProcessBeforeInitialization(Object bean,
    String beanName) throws BeansException 
 public  void setBeanFactory(BeanFactory beanFactory)