In Geronimo 1.1, your GBean just needs to implement DeploymentWatcher and add that interface to its GBeanInfo. You'll get called with the module ID for each module that is deployed or undeployed (but currently not all redeployments). Note this is not just for J2EE artifacts -- it will also see deployments of services, etc. If you care about the type, your GBean can look up the type of the deployed module with the module ID it is passed.
Thanks, Aaron On 5/31/06, Manu George <[EMAIL PROTECTED]> wrote:
Hi, Is it possible for me to write a GBean that gets notified every time a J2EE artefact is deployed. How do i enable by GBean to recieve these notifications Regards Manu