I have added this method and changed the authentication classes to
use it. Those useless ClassCastExceptions are now thus a thing of the
past ;-)
On 15-nov-05, at 17:19, Geert Bevin wrote:
I think these errors call for an addition to the property retrieval
methods:
public <T> T getPropertyTyped(String name, Class<T> type)
Which will ensure that the property is in a certain type and throw
a meaningful exception if it isn't.
On 15-nov-05, at 17:08, Geert Bevin wrote:
Hi Emmanuel,
you need to set the datasource like this:
<property name="datasource"><datasource>datasource</datasource></
property>
Just as for the authentication element.
Best regards,
Geert
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users