On 24.05.2004 14:22, Christoph Ender wrote:[...]
When trying to lookup org.apache.avalon.excalibur.datasource.DataSourceComponentSelector
via the ServiceManager I get a ClassCastException. I've copied over as much
code I could get from examples, but it looks like I'm still doing something wrong. I'll
post the relevant lines here:
[...]
The last line that assigns the ComponentSelector to selector fails with the
ClassCastExceoption.
Am Dienstag, 25.05.04 um 01:05 Uhr schrieb Joerg Heinicke:
A ServiceManager does not return a ComponentSelector, but a ServiceSelector, so you must cast to SS instead of CS. Even if the implementation class only implements CS this works, as a wrapper is build around it.
Thank you VERY much. I've been using a few lines from the BlobSource, not
knowing that BlobSource doesn't work in the current version (just found that on
http://archives.real-time.com/pipermail/cocoon-users/2004-March/ 047774.html).
Again, thanks for your quick help.
Regards, Christoph.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
