public abstract class DictionaryBeanProcessorBase extends Object implements DictionaryBeanProcessor
Constructor and Description |
---|
DictionaryBeanProcessorBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyPropertyValueToBean(String propertyPath,
String propertyValue,
org.springframework.beans.factory.config.BeanDefinition beanDefinition)
Applies the given property name and value to the bean definition
|
protected void |
applyPropertyValueToBean(String propertyPath,
String propertyValue,
org.springframework.beans.MutablePropertyValues pvs)
Applies the given property name and value to given property values
|
protected Class<?> |
getBeanClass(org.springframework.beans.factory.config.BeanDefinition beanDefinition,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Retrieves the class for the object that will be created from the bean definition.
|
protected DataDictionaryService |
getDataDictionaryService()
Returns an instance of the data dictionary service
|
protected org.springframework.beans.factory.config.BeanDefinition |
getPropertyValueBeanDefinition(org.springframework.beans.PropertyValue propertyValue)
Determines if the given property value is a bean definition or bean definition holder and if
so returns the value as a bean definintion
|
protected String |
getStringValue(Object value)
Determines whether the given value is of String type and if so returns the string value
|
protected boolean |
isGeneratedBeanName(String beanName)
Indicates whether the given bean name was generated by spring
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processArrayStringPropertyValue, processCollectionBeanDefinition, processListStringPropertyValue, processMapStringPropertyValue, processNestedBeanDefinition, processRootBeanDefinition, processSetStringPropertyValue, processStringPropertyValue
public DictionaryBeanProcessorBase()
protected Class<?> getBeanClass(org.springframework.beans.factory.config.BeanDefinition beanDefinition, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
beanDefinition
- bean definition to get class forbeanFactory
- bean factory that contains the bean definitionprotected String getStringValue(Object value)
value
- object value to checkprotected void applyPropertyValueToBean(String propertyPath, String propertyValue, org.springframework.beans.factory.config.BeanDefinition beanDefinition)
propertyPath
- name of the property to add value forpropertyValue
- value for the propertybeanDefinition
- bean definition to add property value toprotected void applyPropertyValueToBean(String propertyPath, String propertyValue, org.springframework.beans.MutablePropertyValues pvs)
propertyPath
- name of the property to add value forpropertyValue
- value for the propertypvs
- property values to add property toprotected org.springframework.beans.factory.config.BeanDefinition getPropertyValueBeanDefinition(org.springframework.beans.PropertyValue propertyValue)
propertyValue
- property value to get bean definition fromprotected boolean isGeneratedBeanName(String beanName)
beanName
- bean name to checkprotected DataDictionaryService getDataDictionaryService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.