From: stephan b. <st...@ei...> - 2003-09-12 09:21:37
|
Last night i sat down to add chained classloader support to s11n and i realized it's either impossible or next to impossible to do using my model. Consider fun::ClassLoader: we can subclass that as many times as we want and chain them via a container. Consider these classes, however: ClassLoader<LoadableClass> ClassLoader<Serializable> those are two unrelated types, and therefor cannot be stored in the same container (except as void *, but then you still must know the proper type to cast back to!). As far as i can see, there is no way to chain template-based classloaders. Obviously this is a major limitation, so i've got to go re-think my approach. :/ -- ----- stephan st...@ei... - http://www.einsurance.de "Let's do what we do best and run out of here screaming in fear!" -- Shaggy, to Scooby |