How to use Blazeds with a custom classloader?
Posted
by festerwim
on Stack Overflow
See other posts from Stack Overflow
or by festerwim
Published on 2010-03-18T09:00:38Z
Indexed on
2010/03/18
9:01 UTC
Read the original article
Hit count: 681
Hi,
has anybody tried using a custom classloader with BlazeDS?
We have a web application using BlazeDS and we can convert Java objects in to ActionScript object and back without problems in the main application. However, we also have a plug-in mechanism based on a custom classloader. BlazeDS cannot map the types contained in jar files of that custom classloader since I don't know how to tell it to BlazeDS. Has anybody already done this?
The livedocs of TypeMarshallingcontext show a setClassloader() method, but since the context seems to be a singleton, I assume this will not work if you have multiple custom classloaders (we have 1 for each plugin that is deployed)
regards,
Wim
© Stack Overflow or respective owner