Re: JCA 1.5 and ActivationSpec
Sivakumar Thyagarajan <[email protected]> Thu, 9 Sep 2004 16:03:27 +0530
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
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".