org.kuali.rice.krad.datadictionary
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
 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)
 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
 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)
 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)
 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)
 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)
 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)
 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)
 

Method Detail

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 factory
beanDefinition - 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 factory
beanDefinition - bean definition to process
propertyName - the name of the property which has the bean definition value
nestedBeanStack - 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 processed
propertyValue - 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 factory
beanDefinition - bean definition within the collection to process
propertyName - the name of the property which has the collection value
nestedBeanStack - 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 processed
propertyValue - the array which contains the string
elementValue - the string element value
elementIndex - the index of the string within the array
nestedBeanStack - 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 processed
propertyValue - the list which contains the string
elementValue - the string element value
elementIndex - the index of the string within the list
nestedBeanStack - 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 processed
propertyValue - the set which contains the string
elementValue - the string element value
nestedBeanStack - 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 processed
propertyValue - the map which contains the string
elementValue - the string element value
elementKey - the key for the string within the map
nestedBeanStack - the stack of bean containers, including the bean that contains the property
Returns:
String new property value (possibly modified by processors)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.