From: <ste...@jb...> - 2005-08-01 16:02:42
|
So here's my thoughts after the weekend. Why not have the MBean have the option of running in what is basically two modes: 1) har-deployment : essentially what we have now. Leave HARDeployer for now until the capability for "an MBean to know about the deployment it came from" gets solidified; once that capability exists, remove the HARDeployer and simply have the MBean grab its DeploymentInfo.url and use that as the HarUrl if it is a .har. 2) auto-detection : if no HarUrl is set, then use functionality similiar to what you have described. I am not certain, though, that the current context classloader approach is the correct one. I think I'd rather use the DeploymentInfo.ucl. I am worried about start/stop calls from somewhere other than the controller. But for now, I am using the exact code you posted since its a PIA to manually locate ones DeploymentInfo. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887725#3887725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887725 |