1 Reply Latest reply on Oct 17, 2007 10:51 AM by Pete Muir

    Configure Java Bean properties

    Thomas Bauer Newbie

      Hi!

      Is it somehow possible to use JavaBeans as properties and configure them via components.xml.

      Like this:

      public class MyClass
      {
       private MyJavaBean bean;
       ...
       public void setBean(MyJavaBean bean) {..}
      }
      


      and this:
       <component name="xxx" class="MyClass">
       <property name="bean">
       <bean>
       <property name="beanProp1">beanPropVal1</property>
       ...
       </bean>
       </property>
       </component>
      


      And if yes .. how do you do that with Collections of Beans?

      Thomas