You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Thiago Veronezi (JIRA)" <ji...@apache.org> on 2010/06/01 01:45:38 UTC
[jira] Updated: (OPENEJB-1144) @Stateful javax.ejb.AccessTimeout
[ https://issues.apache.org/jira/browse/OPENEJB-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiago Veronezi updated OPENEJB-1144:
-------------------------------------
Attachment: OPENEJB-1144.patch
I needed to create 2 extra classes. I didnt get the system working with a common class for both annotations (Stateful and Access timeout) because of the XmlType annotation of the xml dataholder field. For statefultimeaout we have "stateful-timeoutType", and for accesstimeout we have "access-timeoutType"...
+@XmlType(name = "stateful-timeoutType", propOrder = { "timeout", "unit" })
+@XmlType(name = "access-timeoutType", propOrder = { "timeout", "unit" })
The unittest was accusing "two fields with the same name".
************************************************
For this first patch, the system is going to support only one value for accesstimeout, instead of the list, as discussed by email. If thats ok, we need to open a new issue to complete this feature to support a list.
> @Stateful javax.ejb.AccessTimeout
> ----------------------------------
>
> Key: OPENEJB-1144
> URL: https://issues.apache.org/jira/browse/OPENEJB-1144
> Project: OpenEJB
> Issue Type: Sub-task
> Components: ejb31
> Reporter: David Blevins
> Attachments: OPENEJB-1144.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.