"adrian@jboss.org" wrote:"kabir.khan@jboss.com" wrote:
Are you saying "don't use it", or "use it and we'll retrofit an SPI"? :-) As far as I can tell I will need information from the ClassLoaderPolicy.
I'm saying any use of the classloading metadata for the AOP domain construction
would be a hack until we have a real solution based on metadata context
rather than the classloader of the aspectized class/aspect class/joinpoint.
The latter (classloader solution) is just a temporary solution to reproduce
what jboss4 does. I don't think we need to create a SPI (which we will need to
support forever) for something that is a temporary hack.
If we created a SPI, it wouldn't be the Unified ClassLoader or the new classloader
it would have to cover all possible classloading models that people might want
to plugin to the deployers.
"kabir.khan@jboss.com" wrote:
I am thinking about if we need to create special classpools understanding the new loaders. Let's ignore this for now until I am sure that these pools will be needed