[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean definition as value add problem (JBMICROCONT-28)

scott.stark@jboss.org do-not-reply at jboss.com
Tue Jan 16 20:56:19 EST 2007


I could actually use the wildcard support to use the javabean schema if the javabean schema supported non-default constructors like this:


  |    <bean name="DsXmlDataSourceTemplateInfo"
  |       class="org.jboss.profileservice.management.plugins.BasicDeploymentTemplateInfo">
  |         <constructor>
  |            <parameter>DsXmlDataSourceTemplate</parameter>
  |            <parameter>A template for *-ds.xml deployments</parameter>
  |         </constructor>
  |         <property name="properties">
  |          <set>
  |             <javabean xmlns="urn:jboss:javabean:1.0"
  |                class="org.jboss.test.javabean.support.SimpleBean">
  |               <constructor>
  |                  <property>jndi-name</property>
  |                  <property>the jndi name to bind the DataSource under</parameter>
  |               </constructor>
  |               <property name="manadatory">true</property>
  |             </javabean>
  |          </set>
  |         </property>
  |    </bean>
  | 

I'm going to take a look at adding that support. I'll make this a urn:jboss:javabean:2.0 version schema.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002549#4002549

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002549



More information about the jboss-dev-forums mailing list