<bean class="ExampleBean">
<property name="email"><value></value></property>
</bean>
<bean class="ExampleBean">
<property name="email" nullvalue=1></property>
</bean>
<bean class="ExampleBean">
<property name="email" type=java.lang.Object><value></value></property>
</bean>
It is impossible to assign values through bean definition. It should
be done in the constructor.
<bean class="ExampleBean">
<property name="email"><null/></property>
</bean>
|