Interface DictionaryBeanProcessor
- All Known Implementing Classes:
DictionaryBeanProcessorBase,MessageBeanProcessor
public interface DictionaryBeanProcessor
API for classes that perform post processing of the dictionary bean definitions
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionprocessArrayStringPropertyValue(String propertyName, Object[] propertyValue, String elementValue, int elementIndex, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invokes the processors to handle an array string value (which may be changed)voidprocessCollectionBeanDefinition(String beanName, org.springframework.beans.factory.config.BeanDefinition beanDefinition, String propertyName, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invoked to process a collection value that is a bean definitionprocessListStringPropertyValue(String propertyName, List<?> propertyValue, String elementValue, int elementIndex, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invokes the processors to handle an list string value (which may be changed)processMapStringPropertyValue(String propertyName, Map<?, ?> propertyValue, String elementValue, Object elementKey, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invokes the processors to handle an map string value (which may be changed)voidprocessNestedBeanDefinition(String beanName, org.springframework.beans.factory.config.BeanDefinition beanDefinition, String propertyName, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invoked to process a nested bean definition (a bean definition that is a property value of another bean definition)voidprocessRootBeanDefinition(String beanName, org.springframework.beans.factory.config.BeanDefinition beanDefinition) Invoked to process a root bean definition (a root bean definition is a top level bean)processSetStringPropertyValue(String propertyName, Set<?> propertyValue, String elementValue, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invokes the processors to handle an set string value (which may be changed)processStringPropertyValue(String propertyName, String propertyValue, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invoked to process a string property value (straight property value, not a string within a collection)
-
Method Details
-
processRootBeanDefinition
void processRootBeanDefinition(String beanName, org.springframework.beans.factory.config.BeanDefinition beanDefinition) Invoked to process a root bean definition (a root bean definition is a top level bean)- Parameters:
beanName- name of the bean within the factorybeanDefinition- bean definition to process
-
processNestedBeanDefinition
void processNestedBeanDefinition(String beanName, org.springframework.beans.factory.config.BeanDefinition beanDefinition, String propertyName, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invoked to process a nested bean definition (a bean definition that is a property value of another bean definition)- Parameters:
beanName- name of the bean within the factorybeanDefinition- bean definition to processpropertyName- the name of the property which has the bean definition valuenestedBeanStack- the stack of beans which contain the given bean
-
processStringPropertyValue
String processStringPropertyValue(String propertyName, String propertyValue, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invoked to process a string property value (straight property value, not a string within a collection)- Parameters:
propertyName- name of the property whose string value is being processedpropertyValue- string value for the property- Returns:
- String new property value (possibly modified)
-
processCollectionBeanDefinition
void processCollectionBeanDefinition(String beanName, org.springframework.beans.factory.config.BeanDefinition beanDefinition, String propertyName, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invoked to process a collection value that is a bean definition- Parameters:
beanName- name of the bean within the factorybeanDefinition- bean definition within the collection to processpropertyName- the name of the property which has the collection valuenestedBeanStack- the stack of beans which contain the given collection (and collection bean)
-
processArrayStringPropertyValue
String processArrayStringPropertyValue(String propertyName, Object[] propertyValue, String elementValue, int elementIndex, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invokes the processors to handle an array string value (which may be changed)- Parameters:
propertyName- name of the property that is being processedpropertyValue- the array which contains the stringelementValue- the string element valueelementIndex- the index of the string within the arraynestedBeanStack- the stack of bean containers, including the bean that contains the property- Returns:
- String new property value (possibly modified by processors)
-
processListStringPropertyValue
String processListStringPropertyValue(String propertyName, List<?> propertyValue, String elementValue, int elementIndex, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invokes the processors to handle an list string value (which may be changed)- Parameters:
propertyName- name of the property that is being processedpropertyValue- the list which contains the stringelementValue- the string element valueelementIndex- the index of the string within the listnestedBeanStack- the stack of bean containers, including the bean that contains the property- Returns:
- String new property value (possibly modified by processors)
-
processSetStringPropertyValue
String processSetStringPropertyValue(String propertyName, Set<?> propertyValue, String elementValue, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invokes the processors to handle an set string value (which may be changed)- Parameters:
propertyName- name of the property that is being processedpropertyValue- the set which contains the stringelementValue- the string element valuenestedBeanStack- the stack of bean containers, including the bean that contains the property- Returns:
- String new property value (possibly modified by processors)
-
processMapStringPropertyValue
String processMapStringPropertyValue(String propertyName, Map<?, ?> propertyValue, String elementValue, Object elementKey, Stack<org.springframework.beans.factory.config.BeanDefinitionHolder> nestedBeanStack) Invokes the processors to handle an map string value (which may be changed)- Parameters:
propertyName- name of the property that is being processedpropertyValue- the map which contains the stringelementValue- the string element valueelementKey- the key for the string within the mapnestedBeanStack- the stack of bean containers, including the bean that contains the property- Returns:
- String new property value (possibly modified by processors)
-