[jboss-jira] [JBoss JIRA] Resolved: (JBAS-8508) map metadata classes to root element names

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Fri Oct 8 09:14:39 EDT 2010


     [ https://jira.jboss.org/browse/JBAS-8508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky resolved JBAS-8508.
-------------------------------------

    Resolution: Done


Now metadata-deployer-jboss-beans.xml can include mappings like the following

      <!-- schema classes by QName's -->
      <property name="bindingClassesByElementNames">
         <map keyClass="javax.xml.namespace.QName" valueClass="java.lang.String">
            <entry>
               <key>
                  <bean class="javax.xml.namespace.QName">
                     <constructor>
                        <!-- namespace -->
                        <parameter>http://java.sun.com/xml/ns/javaee</parameter>
                        <!-- root element name -->
                        <parameter>ejb-jar</parameter>
                     </constructor>
                  </bean>
               </key>
               <value>org.jboss.metadata.ejb.spec.EjbJar31MetaData</value>
            </entry>
         </map>
      </property>

> map metadata classes to root element names
> ------------------------------------------
>
>                 Key: JBAS-8508
>                 URL: https://jira.jboss.org/browse/JBAS-8508
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Alexey Loubyansky
>            Assignee: Alexey Loubyansky
>             Fix For: 6.0.0.CR1
>
>
> When schemaLocation attribute is not included in the XML deployment descriptor there needs to be a way to determine the schema and the JAXB-annotated class by the root XML element name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list