The background is that I am trying to implement an OSGi HttpService that dynamically
deploys an JbossWebMetaData attached to an AbstractDeploymentUnit
| AbstractDeployment deployment = new AbstractDeployment(alias);
| //factory.addContext(deployment, "");
|
| ClassLoader classLoader = servlet.getClass().getClassLoader();
|
| MutableAttachments mutableAttachments =
(MutableAttachments)deployment.getPredeterminedManagedObjects();
| mutableAttachments.addAttachment(ClassLoaderFactory.class, new
ContextClassLoaderFactory(classLoader));
| mutableAttachments.addAttachment(JBossWebMetaData.class, jbwmd);
| mainDeployer.deploy(deployment);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205317#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...