[jboss-dev-forums] [Design of POJO Server] - Re: Security Deployer assuming VFSDeploymentUnit
thomas.diesler@jboss.com
do-not-reply at jboss.com
Thu Jan 29 01:04:31 EST 2009
Yes, and I believe we got it to work in AS42. The WS Endpoint API never worked in AS50 AFAIK.
Perhaps we can revisit this now and cut through it for AS50
Here is how I currently try to do this
| 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=4205438#4205438
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205438
More information about the jboss-dev-forums
mailing list