April 05
Prof. Ismael H. F. Santos -
ismael@tecgraf.puc-rio.br
2
BeanFactories
n
Here is an example:
<beans>
<bean id=“
widgetService
”
class=“com.zabada.base.WidgetService”>
<property name=“
poolSize
”>
<!—-property value here-->
</property>
</bean>
</beans>
The bean’s ID
The bean’s fully-
qualified classname
Maps to a setPoolSize() call