AW: JCA 1.5 and ActivationSpec
Stefan Krieger <[email protected]> Thu, 9 Sep 2004 21:45:28 +0200
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Message-ID | <[email protected]> |
Kevin, Siva, Thanks for your feedback. Siva, thanks for submitting this bug. I hope Sun is fixing this bug anyway because it prevents the development/deployment of most non-trival JCA 1.5 Connectors in SunAS. I don't like to spread this workaround through our source code. Regards, Stefan Krieger Comporsys Hansa GmbH Spitzerdorfstr. 3, D-22880 Wedel Tel. +49 (0)4103 12117-0 Fax +49 (0)4103 12117-29 http://www.comporsys.de > -----Ursprungliche Nachricht----- > Von: A public list for J2EE Connector architecture interest. > [mailto:[email protected]]Im Auftrag von Sivakumar > Thyagarajan > Gesendet: Donnerstag, 9. September 2004 12:33 > An: [email protected] > Betreff: Re: JCA 1.5 and ActivationSpec > > > Hi Stefan > > > Must all properties in bean ActivationSpec be type "java.lang.String"? > No. The ActivationSpec is a JavaBean, and so, it can take any type. > > Thanks for pointing this issue out in 8.0 UR1. An issue has been > raised and you could > track/vote for it at [1] [The URL might be valid only after a while]. > > As of now the workaround is: > - Define activationspec properties as java.lang.String properties > and transform the > String to the appropriate data type within the ActivationSpec JavaBean > > Hope this helps. > Thanks > --Siva. > [1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6171729 > > Stefan Krieger wrote: > > Hello, > > > > Must all properties in bean ActivationSpec be type "java.lang.String"? > > I found nothing about it in the spec but all their examples are > using Strings only. > > SunAS 8 SP1 throws exceptions if any other type (Boolean, > Integer etc.) in the property setter is used. > > Can somebody shed some light on this? > > > > Thanks, > > Stefan > > > > > ================================================================== > ========= > > To unsubscribe, send email to [email protected] and include > in the body > > of the message "signoff CONNECTOR-INTEREST". For general help, > send email to > > [email protected] and include in the body of the message "help". > > ================================================================== > ========= > To unsubscribe, send email to [email protected] and include > in the body > of the message "signoff CONNECTOR-INTEREST". For general help, > send email to > [email protected] and include in the body of the message "help". > =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff CONNECTOR-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".