[jboss-jira] [JBoss JIRA] Resolved: (JBMETA-304) Add metadata support for "inherited" atribute of application-exception

jaikiran pai (JIRA) jira-events at lists.jboss.org
Tue Oct 19 06:09:55 EDT 2010


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

jaikiran pai resolved JBMETA-304.
---------------------------------

    Fix Version/s: jboss-metadata-ejb-2.0.0-alpha-21
       Resolution: Done


Done in r108645.

> Add metadata support for "inherited" atribute of application-exception
> ----------------------------------------------------------------------
>
>                 Key: JBMETA-304
>                 URL: https://jira.jboss.org/browse/JBMETA-304
>             Project: JBoss Metadata
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: ejb
>            Reporter: jaikiran pai
>            Assignee: jaikiran pai
>             Fix For: jboss-metadata-ejb-2.0.0-alpha-21
>
>
> EJB3.1 introduces a "inherited" attribute for application-exception element in ejb-jar.xml:
> <xsd:complexType name="application-exceptionType">
>     <xsd:annotation>
>       <xsd:documentation>
>         The application-exceptionType declares an application
>         exception. The declaration consists of:
>         
>         - the exception class. When the container receives
>         an exception of this type, it is required to 
>         forward this exception as an applcation exception 
>         to the client regardless of whether it is a checked
>         or unchecked exception.
>         - an optional rollback element. If this element is 
>         set to true, the container must rollback the current 
>         transaction before forwarding the exception to the
>         client.  If not specified, it defaults to false.
>         - an optional inherited element. If this element is 
>         set to true, subclasses of the exception class type
>         are also automatically considered application 
>         exceptions (unless overriden at a lower level).
>         If set to false, only the exception class type is
>         considered an application-exception, not its
>         exception subclasses. If not specified, this
>         value defaults to true.
>         
>       </xsd:documentation>
>     </xsd:annotation>
>     <xsd:sequence>
>       <xsd:element name="exception-class"
>                    type="javaee:fully-qualified-classType"/>
>       <xsd:element name="rollback"
>                    type="javaee:true-falseType"
>                    minOccurs="0"/>
>       <xsd:element name="inherited"
>                    type="javaee:true-falseType"
>                    minOccurs="0"/>
>     </xsd:sequence>
>     <xsd:attribute name="id"
>                    type="xsd:ID"/>
>   </xsd:complexType>
> The metadata schema mapping class should support this new attribute.

-- 
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