2 Replies Latest reply on Feb 8, 2008 4:45 AM by Sébastien Doncker

    How to listen when EJBDeployer deploy or undeploy a .jar

    Sébastien Doncker Newbie

      Hi,

      I want to listen EJBDeployer to be notified when an enterprise bean jar is added to or removed from the deploy directory.

      I want the deployment process occurs normaly but just know when the jar is deployed/undeployed with success.

      I think to do that in a MBean calling the addOperationInterceptor on EJBDeployer.
      But I can't see a method of EJBDeployer which can notify me if it success or fail in the deployment process.

      Does anybody have an idea how to realize this kind of stuff ?

      Thans in advance