| Returns an 'fake' XletContext to be used for
IxcRegistry.getRegistry(XletContext).
It is important for this method to convert the parameter classloader
to the right instance before creating a DummyXletContext with it,
because the ClassLoader in the XletContext is later used as a defining
ClassLoader for the generated stubs.
We want to make sure that the system driven IXC calls result in
the stubs loaded by the system ClassLoader, and application
driven IXC calls to result i the stubs loaded by the ClassLoader
associated with the calling application.
Invoke this method with the calling Class's ClassLoader as a param,
such as getClassLoader(this.getClass().getClassLoader());
|