Hi,
It sounds reasonable to me that we should allow the Tuscany embedders to
plug in their own Contribution classloading scheme. The classloader might be
constructed based on the contribution graph with the import/export
dependencies.
I suggest that we add a new utility service such as
ContributionClassLoaderProvider into our UtilityExtensionPoint. This way, it
can be replaced with a customized ContributionClassLoaderProvider
implementation.
Thanks,
Raymond
From: Rashmi Hunt
Sent: Wednesday, January 07, 2009 10:48 AM
To: [email protected]
Subject: ContributionClassLoader
Hi
Is there a way to change the classloader which loads contribution classes or
resources in a contribution?
Tuscany sets the contribution classloader in
ClassReferenceModelResolver.ClassReferenceModelResolver() and
is there anyway to use a different classloader?
Regards
Rashmi