org.apache.james.container.spring.lifecycle
Class AbstractPropagator
java.lang.Object
org.apache.james.container.spring.lifecycle.AbstractPropagator
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware
- Direct Known Subclasses:
- ConfigurationPropagator, ContextPropagator, InitializationPropagator, LoggerPropagator, ServicePropagator
public abstract class AbstractPropagator
- extends java.lang.Object
- implements org.springframework.beans.factory.BeanFactoryAware
visitor. iterating over all spring beans having some specific implementation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPropagator
public AbstractPropagator()
getBeanFactory
public final org.springframework.beans.factory.BeanFactory getBeanFactory()
- Gets the bean factory
- Returns:
- the beanFactory not null
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
- Specified by:
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
postProcessBeforeInitialization
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
- Throws:
org.springframework.beans.BeansException
getBeanDefinition
protected org.springframework.beans.factory.config.BeanDefinition getBeanDefinition(java.lang.String beanName)
postProcessAfterInitialization
public java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
- Throws:
org.springframework.beans.BeansException
setExcludeBeans
public void setExcludeBeans(java.util.Collection excludeBeans)
getLifecycleInterface
protected abstract java.lang.Class getLifecycleInterface()
invokeLifecycleWorker
protected abstract void invokeLifecycleWorker(java.lang.String beanName,
java.lang.Object bean,
org.springframework.beans.factory.config.BeanDefinition beanDefinition)
Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.