[jboss-user] [Microcontainer] - Question on Capabilities definition (ClassLoaderMetaData)

gcompienne do-not-reply at jboss.com
Fri Feb 8 08:20:42 EST 2008


Hello,

Looking at the JBoss MC source code I can see that a "describe" deployer can add capabilities information before the classloader gets created("ClassLoaderMetaData.setCapabilities()"), thus allowing dependency resolution for a unit being deployed.

Now, I wonder about the deployer themselves: How could a deployer (that is being deployed) inform MC of its own capabilities?

Is there a mechanism to do that? The only option I can see, so far, is to create another deployer (in a different deployment unit) that would declare the capabilities my deployer. But I can't shake the feeling that I am probably trying to kill a fly with a hammer... ;-)

Thanks for your help.

Gilles.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127798#4127798

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127798



More information about the jboss-user mailing list