XBean > Home > Developers > Ideas > Templating Ideas |
|
In spring you can do this foo.xml <bean id="deepDishPizzaService" abstract="true" class="org.xbean.spring.example.DeepDishPizzaService"> <property name="topping" value="Salami"/> <property name="cheese" value="Edam"/> <property name="size" value="17"/> </bean> <bean id="myFavoritePizza" parent="deepDishPizzaService"> <property name="size" value="12"/> </bean> |