[jboss-dev-forums] [Design of POJO Server] - Re: DeploymentContext needs attachments
adrian@jboss.org
do-not-reply at jboss.com
Tue Oct 10 12:15:19 EDT 2006
Can't you add that to the deployment context of the war?
i.e.
if (moduleTypeIsWar)
{
DeploymentContext warDeploymentContext = ...
if (contextRoot != null)
{
ContextRootMetaData crmd = ...
warDeploymentContext.addTransientManagementObjects().addAttachment(crmd);
}
earDeploymentContext.addChild(warDeploymentContext);
}
Then it is just a case of getting the war deployer to check it.
It must already check it now from the DeploymentInfo in JBoss4?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977295#3977295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977295
More information about the jboss-dev-forums
mailing list