3 Replies Latest reply on Aug 12, 2009 10:18 AM by Jesper Pedersen

    proposal for JBossRA 2.0 metadata

    Jeff Zhang Newbie

      We would like to extend the jboss-ra.xml for more feature.

      1. possibility to add additional bean validation groups.

       <bean-validation-groups>
       <bean-validation-group>com.mycompany.myproject.bv.Group1</bean-validation-group>
       <bean-validation-group>com.mycompany.myproject.bv.Group2</bean-validation-group>
       </bean-validation-groups>
      

      see https://jira.jboss.org/jira/browse/JBJCA-135

      2. currently we use "ra-config-property" to override configuration value like this
       <ra-config-property>
       <ra-config-property-name>StringRAR</ra-config-property-name>
       <ra-config-property-type>java.lang.String</ra-config-property-type>
       <ra-config-property-value>XMLOVERRIDE</ra-config-property-value>
       </ra-config-property>
      

      It is just work for the config-property in the resourceadapter element.
      Now we need it can work also for other elements includes:
      activationspec, adminobject, authentication-mechanism, connection-definition(managedconnectionfactory)

      I would like add the attribute name "override-element", that figure it override the configuration value. For example:
       <ra-config-property override-element="connection-definition">
       <ra-config-property-name>StringRAR</ra-config-property-name>
       <ra-config-property-type>java.lang.String</ra-config-property-type>
       <ra-config-property-value>XMLOVERRIDE</ra-config-property-value>
       </ra-config-property>