[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Reimplementing ClassPools for AS
adrian@jboss.org
do-not-reply at jboss.com
Wed Oct 8 11:19:27 EDT 2008
"kabir.khan at jboss.com" wrote : I'm going to bite the bullet and attempt to reimplement how the JBoss ClassPools work. I am currently working on pre-OSGi with classloaders organised by domains. Although I doubt I will have time to implement the OSGi part before AS 5.0.0.GA I would at least like to add the correct properties to my classes at this stage. A few questions
|
| *I seem to mention you saying that if using OSGi, the classloaders are typically in the same domain with correct import/export rules set?
| *How can I access all the rules for import/export for a (sub-)deployment from a deployer? That should give me the information I need about the available options.
|
The requested rules are on the Module, e.g. importAll, exportAll and
requirements/capabilities
What they actually get resolved to will only be available on the DependencyInfo
(which is really an implementation detail),
or by looking at the actual ClassLoaderPolicy used to create the classloader,
e.g getPackageNames() and getDelegates().
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181046#4181046
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181046
More information about the jboss-dev-forums
mailing list