3 Replies Latest reply on Jul 24, 2014 12:03 PM by Keith Babo

    Getting undeploy event

    Demian Calcaprina Master

      Hi Guys,

       

      we have a JAR packaged SY app. I would like to register some observer to be executed when undeploying the app. Any idea on how to do it?

       

      One option is to use a javax.enterprise.inject.spi.Extension observing a javax.enterprise.inject.spi.BeforeShutdown event. This works, but in this case, how can I get a SY bean? Is there any other solution?

       

      Thanks in advance,


      Demian