|
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mindmatters.faces.spring.factory.ValueBindingResolvingPropertyConfigurer
public final class 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)
Modify the application context's internal bean factory after its standard initialization. |
void |
setBeanFactory(BeanFactory beanFactory)
Callback that supplies the owning factory to a bean instance. |
void |
setBeanName(java.lang.String name)
Set the name of the bean in the bean factory that created this bean. |
| 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)
Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method.
setBeanName in interface BeanNameAwarename - the name of the bean in the factorypublic void setBeanFactory(BeanFactory beanFactory)
Invoked after the population of normal bean properties but
before an initialization callback such as
InitializingBean.afterPropertiesSet()
or a custom init-method.
setBeanFactory in interface BeanFactoryAwarebeanFactory - owning BeanFactory (may not be null).
The bean can immediately call methods on the factory.BeanInitializationExceptionpublic void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactoryToProcess)
postProcessBeanFactory in interface BeanFactoryPostProcessorbeanFactoryToProcess - the bean factory used by the application context
|
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||