[jboss-user] [Microcontainer] - Re: Programmatic redeploy using DeploymentManager
emuckenhuber
do-not-reply at jboss.com
Mon Feb 9 04:34:39 EST 2009
"Juergen.Zimmermann" wrote : Can org.jboss.deployers.spi.management.deploy.DeploymentManager be used for redeploying e.g. an EAR?
|
Basically you can deploy a new deployment over deploymentManager. So you can use copyContent = true
to copy and deploy a zipped file, or copyContent = false to just deploy the url (this also works for exploded deployments)
"Juergen.Zimmermann" wrote :
| If so, are there any examples or wiki pages?
Maybe this example helps, if you look at the setUp and tearDown method:
https://anonsvn.jboss.org/repos/jbossas/trunk/testsuite/src/main/org/jboss/test/deployers/AbstractDeploymentTest.java
Please note that the usage and interface will most probably change in 5.1.x.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208097#4208097
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208097
More information about the jboss-user
mailing list