On Fri, 2006-09-22 at 08:37 -0700, Scott M Stark wrote:
You can pass in a hint as a url parameter
redeploy=true" so that the main deployer can set a flag in the
Ok, this seems to work. Now I have the information that the undeploy()
occurs in MainDeployer because of a redeployment.
To send the information to my listener (and later to Apache httpd) I am
thinking of using a Notification("StartReDeploy", ...) and use the
DeploymentInfo to have the Host and the Context information.
Jean-frederic Clere wrote:
> On Fri, 2006-09-22 at 16:24 +0200, Sacha Labourey wrote:
> > What you are looking for is for what happens at line 391-392 here:
> The problem is the URLDeploymentScanner uses the interface Deployer to
> reach MainDeployer.
> It is not possible to add a redeploy method to Deployer because that
> would break the interface (may be customer have their own Deployer).
> The undeploy method in Deployer is:
> void undeploy(URL url) throws DeploymentException;
> The information must be stored somewhere.
> Any hints?
jboss-development mailing list