4 Replies Latest reply on Jan 7, 2010 7:10 PM by Gavin King

    Callback on Bean creation and destruction

    German Escobar Newbie

      Hi,


      I want to create a portable extension that will register a Bean as a JMX MBean on creation, and will unregister it when it is destroyed. The problem I'm facing now is that I need to know when the Bean is being created or destroyed. Any ideas?


      Wouldn't it be great if we could observe this events (the creation/destruction of a bean)?


      Thanks.