|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.mindmatters.faces.spring.factory.support.ValueBindingResolvingPropertyConfigurer
A property configurer that resolves value bindings in bean property values of context definitions.
The syntax follows the JSF EL style:
#{...}
Example XML context definition:
<bean id="myPerson" class="foo.Person">
<property name="firstname"><value>John</value></property>
<property name="lastname"><value>Doe</value></property>
</bean>
<bean id="info" class="foo.PersonInfo">
<property name="firstnameOfPerson"><value>#{myPerson.firstname}</value></property>
<property name="lastnameOfPerson"><value>#{myPerson.lastname}</value></property>
<property name="hasPersonSecondname"><value>#{myPerson.secondname != null}</value></property>
</bean>
ValueBindingResolvingPropertyConfigurer checks simple property values, lists, maps, and props.
| Constructor Summary | |
ValueBindingResolvingPropertyConfigurer()
|
|
| Method Summary | |
void |
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactoryToProcess)
|
void |
setBeanFactory(BeanFactory beanFactory)
|
void |
setBeanName(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ValueBindingResolvingPropertyConfigurer()
| Method Detail |
public void setBeanName(java.lang.String name)
setBeanName in interface BeanNameAwarepublic void setBeanFactory(BeanFactory beanFactory)
setBeanFactory in interface BeanFactoryAwarepublic void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactoryToProcess)
postProcessBeanFactory in interface BeanFactoryPostProcessor
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||