geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anita Kulshreshtha <a_kuls...@yahoo.com>
Subject Re: DeploymentWatcher help needed
Date Sat, 16 Jun 2007 14:30:45 GMT
--- Ajay Panagariya <apanagar@gmail.com> wrote:

> Hi,
> 
> I'm trying to get some deployment related information out of Deployer
> using
> an interface called DeploymentWatcher, described here:
> 
>
http://geronimo.apache.org/maven/server/modules/geronimo-kernel/apidocs/org/apache/geronimo/kernel/config/DeploymentWatcher.html
> 
> Does anyone have an experience writing DeploymentWatcher's? I havn't
> been
> able to find examples in the code. 

     DirectoryHotDeployer in  geronimo-hot-deploy implements
DeploymentWatcher. 

Thanks
Anita
 
In Deployer.java, there is a
> 'Collection
> watchers' object, and from the looks of it, as long as I can get my
> DeploymentWatcher into that 'Collection watchers' the deploy function
> should
> run my DeploymentWatcher. The problem is, I can't figure out how to
> get my
> DeploymentWatcher into the 'Collection watchers' object so that it's
> seen by
> the deploy function. Does anyone know the correct way to do this?
> 
> 
> The function that calls the watchers in Deployer.java is called
> notifyWatchers, and is called in the deploy function.
> 
> Thanks, any help would be appreciated.
> 
> -Ajay
> 



       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

Mime
View raw message