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

Reply via email to