org.springframework.jee.config
Class MetadataDrivenBeanPostProcessorSupport
java.lang.Object
org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
org.springframework.jee.config.MetadataDrivenBeanPostProcessorSupport
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.core.Ordered
- Direct Known Subclasses:
- Jsr250MetadataBeanPostProcessor
public class MetadataDrivenBeanPostProcessorSupport
- extends org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
- implements org.springframework.core.Ordered, org.springframework.beans.factory.BeanFactoryAware
Superclass for post processing singleton definitions, driven by a matching
piece of metadata attached to the relevant singleton definition with the
given name.
- Author:
- Rod Johnson
Field Summary |
protected org.springframework.beans.factory.support.BeanDefinitionRegistry |
beanDefinitionRegistry
|
protected org.apache.commons.logging.Log |
log
|
protected org.springframework.beans.factory.BeanFactory |
owner
|
Fields inherited from interface org.springframework.core.Ordered |
LOWEST_PRECEDENCE |
Methods inherited from class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter |
postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, postProcessPropertyValues |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
owner
protected org.springframework.beans.factory.BeanFactory owner
beanDefinitionRegistry
protected org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry
MetadataDrivenBeanPostProcessorSupport
public MetadataDrivenBeanPostProcessorSupport(java.lang.String attributeName)
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory bf)
throws org.springframework.beans.BeansException
- Specified by:
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
setOrder
public void setOrder(int order)
getOrder
public int getOrder()
- Specified by:
getOrder
in interface org.springframework.core.Ordered
getMetadata
protected java.lang.Object getMetadata(java.lang.String beanName)
Copyright 2006 Interface21. All Rights Reserved.