[jboss-dev-forums] [Design of JBoss Web Services] - Re: Dynamic Endpoint Deployment

kabir.khan@jboss.com do-not-reply at jboss.com
Thu Feb 12 10:04:11 EST 2009


"richard.opalka at jboss.com" wrote : "kabir.khan at jboss.com" wrote : 
  |   | If that doesn't work I think you need to create a ClassLoadingMetaData from the Module, and put that into the deployment as an attachment.
  | We don't have the Module reference available :( As I said above, we're doing all the magic from servlet code (we're not in deployers processing chain when creating that "minimalistic Deployment") :(

You obviously have access to the ClassLoader, so:

"kabir.khan at jboss.com" wrote : 
  | If you have the deployment's ClassLoader, you can obtain the Module by calling 
  | org.jboss.classloading.spi.dependency.ClassLoading.getModuleForClassLoader()
  | This method exists in the version of jboss-cl that exists in AS Branch_5_0.
  | 


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

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



More information about the jboss-dev-forums mailing list